diff options
Diffstat (limited to 'templates/homepage/usr_local_etc_nginx_nginx.conf.j2')
| -rw-r--r-- | templates/homepage/usr_local_etc_nginx_nginx.conf.j2 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/homepage/usr_local_etc_nginx_nginx.conf.j2 b/templates/homepage/usr_local_etc_nginx_nginx.conf.j2 new file mode 100644 index 0000000..53d1c31 --- /dev/null +++ b/templates/homepage/usr_local_etc_nginx_nginx.conf.j2 @@ -0,0 +1,26 @@ +worker_processes auto; + +events { + worker_connections 1024; +} + +http { + include mime.types; + default_type application/octet-stream; + + sendfile on; + keepalive_timeout 65; + + server { + listen 80 default_server; + server_name _; + + root /var/www; + + index index.html; + + location / { + try_files $uri $uri.html $uri/ =404; + } + } +} |
