diff options
Diffstat (limited to 'nginx/remmy_io.sls')
-rw-r--r-- | nginx/remmy_io.sls | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/nginx/remmy_io.sls b/nginx/remmy_io.sls index 78dab71..0431775 100644 --- a/nginx/remmy_io.sls +++ b/nginx/remmy_io.sls @@ -13,7 +13,7 @@ nginx: - root: /srv/http - location /: - - return: '301 https://$server_name$request_uri' + - return: '301 https://remmy.foo$request_uri' - server: @@ -47,15 +47,10 @@ nginx: - error_log: /var/log/nginx/remmy_io.error.log - - root: /home/kyrias/public_html/remmy.io/ - - index: start.html index.html - - autoindex: 'on' - - try_files: $uri $uri.html $uri/ =404 - - location /.well-known/acme-challenge: - root: /srv/http - - location ~ \.(js|css|png): - - expires: modified +7d + - location /: + - return: '301 https://remmy.foo$request_uri' # vim: ft=yaml et: |