diff options
| -rw-r--r-- | templates/usr_local_etc_nginx_nginx.conf.j2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/usr_local_etc_nginx_nginx.conf.j2 b/templates/usr_local_etc_nginx_nginx.conf.j2 index 333e641..692f5a2 100644 --- a/templates/usr_local_etc_nginx_nginx.conf.j2 +++ b/templates/usr_local_etc_nginx_nginx.conf.j2 @@ -22,13 +22,13 @@ http { server { listen 80; - server_name jan.systems; + server_name jan.systems pursotin.jan.systems local.jan.systems; root /usr/local/www/jan.systems; index index.html; location / { - try_files $uri $uri/ =404; + try_files $uri $uri.html $uri/ =404; } access_log /var/log/nginx/jan.systems/access.log; @@ -38,7 +38,7 @@ http { {% for jail in jails -%} server { listen 80; - server_name {{ jail.name }}.local.jan.systems; + server_name {{ jail.name }}.jan.systems {{ jail.name }}.local.jan.systems; location / { proxy_pass http://{{ jail.ip }}; |
