diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-23 22:25:41 +0000 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-23 22:25:41 +0000 |
commit | 844cbdc1a4cb7c87b87c213086081e03b2de5307 (patch) | |
tree | 53eaaf98fdb7e540d3156a330ce0a3925562ec1d /theos/nginx/xan_kyriasis_com.sls | |
parent | 5cf1d9df3cedd0c73b17a819199b1da0bb71298e (diff) | |
download | pillar-844cbdc1a4cb7c87b87c213086081e03b2de5307.tar.xz |
nginx: Fixe https returns
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'theos/nginx/xan_kyriasis_com.sls')
-rw-r--r-- | theos/nginx/xan_kyriasis_com.sls | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/theos/nginx/xan_kyriasis_com.sls b/theos/nginx/xan_kyriasis_com.sls index ad81a1a..f4a9d0f 100644 --- a/theos/nginx/xan_kyriasis_com.sls +++ b/theos/nginx/xan_kyriasis_com.sls @@ -9,9 +9,7 @@ nginx: - server_name: xan.kyriasis.com - listen: 80 - listen: '[::]:80' - - rewrite: - - '^ https://$server_name$request_uri?' - - permanent + - return: '301 https://$server_name$request_uri' - server: - server_name: xan.kyriasis.com |