Files
meet/src/frontend/default.conf

20 lines
476 B
Plaintext
Raw Normal View History

server {
listen 8080;
server_name localhost;
root /usr/share/nginx/html;
# Serve static files
location / {
try_files $uri $uri/ /index.html;
# Add no-cache headers
add_header Cache-Control "no-cache, no-store, must-revalidate";
add_header Pragma "no-cache"; # HTTP 1.0 header for backward compatibility
add_header Expires 0;
}
# Optionally, handle 404 errors by redirecting to index.html
error_page 404 =200 /index.html;
}