404.conf 560 B

12345678910111213
  1. error_page 403 =404 /404.html;
  2. error_page 404 /404.html;
  3. location = /404.html {
  4. root /opt/cunnyborea/instance/static/static/error/404;
  5. internal;
  6. add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
  7. add_header X-Content-Type-Options "nosniff";
  8. add_header X-XSS-Protection "1; mode=block";
  9. add_header X-Permitted_Cross-Domain-Policies none;
  10. add_header X-Frame-Options "self";
  11. add_header Referrer-Policy "same-origin";
  12. add_header X-Download-Options noopen;
  13. }