summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-01-10 16:41:31 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2017-01-10 16:41:31 +0000
commitcbea52249a5b389c3bdef635027e22b70ebe1f32 (patch)
tree73799f00a7823afa4bf49bf82ee3f8d080985f10
parentea9d29f3c359b92496895e59321076345dc35259 (diff)
downloadpillar-cbea52249a5b389c3bdef635027e22b70ebe1f32.tar.xz
Bump theos nginx conf
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--theos/nginx/theos_kyriasis_com.sls22
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