disabled.stpl 807 B

12345678910111213141516171819202122232425262728293031323334
  1. server {
  2. listen %ip%:%web_ssl_port% ssl;
  3. server_name %domain_idn% %alias_idn%;
  4. root /var/www/html;
  5. index index.php index.html index.htm;
  6. access_log /var/log/nginx/domains/%domain%.log combined;
  7. error_log /var/log/nginx/domains/%domain%.error.log error;
  8. ssl_certificate %ssl_pem%;
  9. ssl_certificate_key %ssl_key%;
  10. ssl_stapling on;
  11. ssl_stapling_verify on;
  12. # TLS 1.3 0-RTT anti-replay
  13. if ($anti_replay = 307) { return 307 https://$host$request_uri; }
  14. if ($anti_replay = 425) { return 425; }
  15. location ~ /\.(?!well-known\/) {
  16. deny all;
  17. return 404;
  18. }
  19. location / {
  20. try_files $uri $uri/ =404;
  21. }
  22. location /error/ {
  23. alias /var/www/document_errors/;
  24. }
  25. proxy_hide_header Upgrade;
  26. include %home%/%user%/conf/mail/%root_domain%/%web_system%.ssl.conf_*;
  27. }