nofi-website/nginx.conf

14 lines
249 B
Nginx Configuration File

server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri.html $uri/ =404;
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
}