nginx/nginx.conf

15 lines
208 B
Nginx Configuration File
Raw Normal View History

2023-09-11 21:46:34 +10:00
server {
listen 80;
index index.html;
root /usr/share/nginx/html;
location / {
try_files $uri $uri/ /index.html;
}
location ~ \.html$ {
try_files $uri =404;
}
}