#=========================================================================# # Default Web Domain Template # # DO NOT MODIFY THIS FILE! CHANGES WILL BE LOST WHEN REBUILDING DOMAINS # # https://docs.hestiacp.com/admin_docs/web.html#how-do-web-templates-work # #=========================================================================# server { listen %ip%:%proxy_port%; listen [::]:%proxy_port%; server_name %domain_idn% %alias_idn%; root /home/tunasync/mirrors; location ~ ^/(ferenos) { index index.html index.htm; autoindex on; autoindex_exact_size off; autoindex_localtime on; } error_page 500 502 503 504 /50x.html; location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } location ~ .*\.(js|css)?$ { expires 12h; } location ~ /\.(?!well-known\/|file) { deny all; return 404; } include %home%/%user%/conf/web/%domain%/nginx.conf_*; }