disabled.stpl 729 B

12345678910111213141516171819202122232425262728293031
  1. server {
  2. listen %ip%:%web_ssl_port% ssl http2;
  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. location ~ /\.(?!well-known\/) {
  13. deny all;
  14. return 404;
  15. }
  16. location / {
  17. try_files $uri $uri/ =404;
  18. }
  19. location /error/ {
  20. alias /var/www/document_errors/;
  21. }
  22. proxy_hide_header Upgrade;
  23. include %home%/%user%/conf/mail/%root_domain%/%web_system%.ssl.conf_*;
  24. }