default_disabled.tpl 508 B

1234567891011121314151617181920
  1. server {
  2. listen %ip%:%proxy_port%;
  3. server_name %domain_idn% %alias_idn%;
  4. index index.php index.html index.htm;
  5. access_log /var/log/nginx/domains/%domain%.log combined;
  6. error_log /var/log/nginx/domains/%domain%.error.log error;
  7. include %home%/%user%/conf/mail/%root_domain%/nginx.forcessl.conf*;
  8. location ~ /\.(?!well-known\/) {
  9. deny all;
  10. return 404;
  11. }
  12. location / {
  13. proxy_pass http://%ip%:%web_port%;
  14. }
  15. include %home%/%user%/conf/mail/%root_domain%/%proxy_system%.conf_*;
  16. }