diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2017-01-10 16:41:31 +0000 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2017-01-10 16:41:31 +0000 |
commit | cbea52249a5b389c3bdef635027e22b70ebe1f32 (patch) | |
tree | 73799f00a7823afa4bf49bf82ee3f8d080985f10 /theos/nginx | |
parent | ea9d29f3c359b92496895e59321076345dc35259 (diff) | |
download | pillar-cbea52249a5b389c3bdef635027e22b70ebe1f32.tar.xz |
Bump theos nginx conf
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'theos/nginx')
-rw-r--r-- | theos/nginx/theos_kyriasis_com.sls | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/theos/nginx/theos_kyriasis_com.sls b/theos/nginx/theos_kyriasis_com.sls index 890e8a6..23b678d 100644 --- a/theos/nginx/theos_kyriasis_com.sls +++ b/theos/nginx/theos_kyriasis_com.sls @@ -7,8 +7,8 @@ nginx: config: - server: - server_name: theos.kyriasis.com - - listen: 80 - - listen: '[::]:80' + - listen: 80 default_server + - listen: '[::]:80 default_server' - location /.well-known/acme-challenge: - root: /srv/http @@ -46,10 +46,11 @@ nginx: # http://www.gnuterrypratchett.com/ - add_header: 'X-Clacks-Overhead "GNU Terry Pratchett"' - - location /: - - root: /srv/http - - index: index.html - - autoindex: 'on' + - error_log: /var/log/nginx/theos.error.log + + - root: /srv/http + - index: index.html + - autoindex: 'on' - location /repo/: - root: /home/kyrias/packaging @@ -92,10 +93,11 @@ nginx: - listen: 80 - listen: '[::]:80' - - location /: - - root: /srv/http - - index: index.html - - autoindex: 'on' + - error_log: /var/log/nginx/theos.error.log + + - root: /srv/http + - index: index.html + - autoindex: 'on' - location /repo/: - root: /home/kyrias/packaging |