server { listen 8080; server_name squaremcp.com www.squaremcp.com tiktok.squaremcp.com; root /usr/share/nginx/html; index index.html; location / { try_files $uri $uri.html $uri/ /index.html; } location = /index.html { add_header Cache-Control "no-cache"; } location ~* \.(css|js)$ { add_header Cache-Control "public, max-age=3600"; } }