server { listen 80; root /usr/share/nginx/html; index index.html; # SPA : toutes les routes retombent sur index.html location / { try_files $uri $uri/ /index.html; } add_header X-Frame-Options "DENY" always; add_header X-Content-Type-Options "nosniff" always; add_header Referrer-Policy "strict-origin-when-cross-origin" always; }