diff options
-rw-r--r-- | cyfraeviolae.conf | 5 | ||||
-rw-r--r-- | local.conf | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/cyfraeviolae.conf b/cyfraeviolae.conf index 5b1e190..6de73b9 100644 --- a/cyfraeviolae.conf +++ b/cyfraeviolae.conf @@ -1,5 +1,10 @@ server { listen 80 default_server; + server_name _; + return 301 https://$host$request_uri; +} + +server { listen 443 ssl default_server; ssl_certificate /etc/letsencrypt/live/cyfraeviolae.org/fullchain.pem; @@ -27,6 +27,10 @@ http { alias /home/sy/code/site/telechromy/; } + location /translation-modality { + alias /home/sy/code/site/translation-modality/; + } + location /countervisual { alias /home/sy/code/site/countervisual/; } |