summaryrefslogtreecommitdiffstats
path: root/theos/nginx/theos_kyriasis_com.sls
diff options
context:
space:
mode:
Diffstat (limited to 'theos/nginx/theos_kyriasis_com.sls')
-rw-r--r--theos/nginx/theos_kyriasis_com.sls8
1 files changed, 3 insertions, 5 deletions
diff --git a/theos/nginx/theos_kyriasis_com.sls b/theos/nginx/theos_kyriasis_com.sls
index 4b5f25d..cbcc756 100644
--- a/theos/nginx/theos_kyriasis_com.sls
+++ b/theos/nginx/theos_kyriasis_com.sls
@@ -9,7 +9,7 @@ nginx:
- server_name: theos.kyriasis.com
- listen: 80
- listen: '[::]:80'
- - rewrite: '301 https://$server_name$request_uri'
+ - return: '301 https://$server_name$request_uri'
- server:
- server_name: theos.kyriasis.com
@@ -58,8 +58,7 @@ nginx:
- expires: modified +24h
- location = /~kyrias/journal/10-mercurian-pronouns.html:
- - return 301:
- - https://web.archive.org/web/https://theos.kyriasis.com/~kyrias/journal/10-mercurian-pronouns.html
+ - return: '301 https://web.archive.org/web/https://theos.kyriasis.com/~kyrias/journal/10-mercurian-pronouns.html'
- location ~ \.(js|css|png):
- expires: modified +7d
@@ -105,8 +104,7 @@ nginx:
- expires: modified +24h
- location = /~kyrias/journal/10-mercurian-pronouns.html:
- - return 301:
- - https://web.archive.org/web/https://theos.kyriasis.com/~kyrias/journal/10-mercurian-pronouns.html
+ - return: '301 https://web.archive.org/web/https://theos.kyriasis.com/~kyrias/journal/10-mercurian-pronouns.html'
- location ~ \.(js|css|png):
- expires: modified +7d