Newer
Older
server_tokens off;
server {
listen 8080;
server_name localhost;
location /wiki/ {
try_files $uri $uri/ $uri/index.html /index.html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
alias /etc/nginx/html/;
}
}