Files
FitOS/admin/nginx.conf

16 lines
281 B
Nginx Configuration File
Raw Normal View History

server {
listen 9000;
server_name _;
root /usr/share/nginx/html;
index index.html;
location ~ ^/(index\.html|config\.js|manifest\.json)$ {
add_header Cache-Control "no-cache";
try_files $uri /index.html;
}
location / {
try_files $uri /index.html;
}
}