From cbea52249a5b389c3bdef635027e22b70ebe1f32 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 10 Jan 2017 16:41:31 +0000 Subject: Bump theos nginx conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- theos/nginx/theos_kyriasis_com.sls | 22 ++++++++++++---------- 1 file 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 -- cgit v1.2.3-70-g09d2