Files
household-bot/apps/miniapp/nginx.conf

22 lines
376 B
Nginx Configuration File

server {
listen 8080;
server_name _;
root /usr/share/nginx/html;
index index.html;
location = /health {
default_type application/json;
return 200 '{"ok":true}';
}
location = /config.js {
add_header Cache-Control "no-store, no-cache, must-revalidate" always;
try_files $uri =404;
}
location / {
try_files $uri $uri/ /index.html;
}
}