Nginx enhancements - split configuration (nginx_*.inc stubs)
This commit is contained in:
10
.templates/nginx/nginx_static.inc
Normal file
10
.templates/nginx/nginx_static.inc
Normal file
@ -0,0 +1,10 @@
|
||||
# Includable nginx configuration.
|
||||
#
|
||||
# A simple static service.
|
||||
location / {
|
||||
root $PAR_SERVICE/storage/volumes/staticweb/;
|
||||
allow all;
|
||||
autoindex off;
|
||||
index index.html index.htm;
|
||||
try_files $ri $uri/ =404;
|
||||
}
|
Reference in New Issue
Block a user