generated from nhcarrigan/template
feat: add events and talks nginx configs
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
# Speaking sites: events listing and talk companion guides.
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
server_name events.nhcarrigan.com;
|
||||||
|
ssl_certificate /etc/letsencrypt/live/events.nhcarrigan.com/fullchain.pem;
|
||||||
|
ssl_certificate_key /etc/letsencrypt/live/events.nhcarrigan.com/privkey.pem;
|
||||||
|
|
||||||
|
root /home/naomi/events;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
index index.html;
|
||||||
|
}
|
||||||
|
include /etc/nginx/snippets/deny-dotfiles.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
server_name talks.nhcarrigan.com;
|
||||||
|
ssl_certificate /etc/letsencrypt/live/talks.nhcarrigan.com/fullchain.pem;
|
||||||
|
ssl_certificate_key /etc/letsencrypt/live/talks.nhcarrigan.com/privkey.pem;
|
||||||
|
|
||||||
|
root /home/naomi/talks;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/index.html =404;
|
||||||
|
}
|
||||||
|
include /etc/nginx/snippets/deny-dotfiles.conf;
|
||||||
|
}
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
../sites-available/speaking.conf
|
||||||
Reference in New Issue
Block a user