nginx config

master
Michael Murtaugh 8 years ago
parent f2d9e1bc38
commit 3bdd2ee6a1

@ -0,0 +1,31 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
#root /var/www/html;
root /media/floppy/noweb;
# Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html;
server_name _;
error_page 404 /insert.html;
location = /insert.html {
root /var/www/static;
internal;
}
location / {
try_files $uri $uri/ =404;
}
location /static {
alias /var/www/static;
autoindex on;
}
}
Loading…
Cancel
Save