summaryrefslogtreecommitdiffstats
path: root/theos/nginx/theos_kyriasis_com.sls
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-22 21:56:20 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2016-11-22 21:56:20 +0000
commitfc1ce15d35d8287147f473bad2b9448c8de40ad5 (patch)
treecf1f613c7e07cb8b294d9b16d70549cd21a62836 /theos/nginx/theos_kyriasis_com.sls
parentc892ede9a8410b81b57191bc63542742e1cc3a2f (diff)
downloadpillar-fc1ce15d35d8287147f473bad2b9448c8de40ad5.tar.xz
Simplify nginx configs slightly
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'theos/nginx/theos_kyriasis_com.sls')
-rw-r--r--theos/nginx/theos_kyriasis_com.sls2
1 files changed, 1 insertions, 1 deletions
diff --git a/theos/nginx/theos_kyriasis_com.sls b/theos/nginx/theos_kyriasis_com.sls
index 6f9f6fc..4b5f25d 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: '^ https://$server_name$request_uri? permanent'
+ - rewrite: '301 https://$server_name$request_uri'
- server:
- server_name: theos.kyriasis.com