diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2018-11-03 15:01:28 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2018-11-03 15:01:28 +0100 |
commit | 23922b62b8a0a5ec658ab6c5ad7544614558b4be (patch) | |
tree | 007fa043955b62a88e5897af6b53710e9e292f6c /nginx/git_kyriasis_com.sls | |
parent | 24549036c0c262bb2d17ad36d20e882f35956020 (diff) | |
download | pillar-23922b62b8a0a5ec658ab6c5ad7544614558b4be.tar.xz |
nginx: Put https redirect in location /
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nginx/git_kyriasis_com.sls')
-rw-r--r-- | nginx/git_kyriasis_com.sls | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nginx/git_kyriasis_com.sls b/nginx/git_kyriasis_com.sls index 78181a5..74e0442 100644 --- a/nginx/git_kyriasis_com.sls +++ b/nginx/git_kyriasis_com.sls @@ -13,7 +13,8 @@ nginx: - location /.well-known/acme-challenge: - root: /srv/http/ - - return: '301 https://$server_name$request_uri' + - location /: + - return: '301 https://$server_name$request_uri' - server: |