summaryrefslogtreecommitdiffstats
path: root/theos/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'theos/nginx')
-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