server { listen 80; server_name 89.169.53.68; root /var/www/fidem; index index.html; # Security headers add_header X-Frame-Options "SAMEORIGIN"; add_header X-Content-Type-Options "nosniff"; add_header X-XSS-Protection "1; mode=block"; # Main location location / { try_files $uri $uri/ =404; } # Cache static files location ~* \.(css|js|png|jpg|jpeg|gif|svg|webp|woff|woff2|ttf|otf)$ { expires 1y; add_header Cache-Control "public, immutable"; } # Gzip compression gzip on; gzip_types text/css application/javascript image/svg+xml; }