diff options
author | cyfraeviolae <cyfraeviolae> | 2023-09-19 11:43:37 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2023-09-19 11:43:37 -0400 |
commit | 316e96e06f1a981922a282bc2764450dc1accdd9 (patch) | |
tree | c9febc51b25422ce20cdabbb52bc765cfd4d2bb5 | |
parent | fc81f21682cb7726b85d068a5d8f6ff1d74912d5 (diff) |
redirect http
-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/; } |