diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-22 21:56:20 +0000 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-22 21:56:20 +0000 |
commit | fc1ce15d35d8287147f473bad2b9448c8de40ad5 (patch) | |
tree | cf1f613c7e07cb8b294d9b16d70549cd21a62836 /theos/nginx/theos_kyriasis_com.sls | |
parent | c892ede9a8410b81b57191bc63542742e1cc3a2f (diff) | |
download | pillar-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.sls | 2 |
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 |