nginx/nginx.conf

15 lines
208 B
Nginx Configuration File

server {
listen 80;
index index.html;
root /usr/share/nginx/html;
location / {
try_files $uri $uri/ /index.html;
}
location ~ \.html$ {
try_files $uri =404;
}
}