File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
install/deb/templates/web/nginx/php-fpm Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1+ #=======================================================================#
2+ # Default Web Domain Template #
3+ # DO NOT MODIFY THIS FILE! CHANGES WILL BE LOST WHEN REBUILDING DOMAINS #
4+ #=======================================================================#
5+
16server {
27 listen %ip%:%web_ssl_port% ssl http2;
38 server_name %domain_idn% %alias_idn%;
4- root %docroot%/html ;
9+ root %docroot%/web ;
510 index index.php index.html index.htm;
611 access_log /var/log/nginx/domains/%domain%.log combined;
712 access_log /var/log/nginx/domains/%domain%.bytes bytes;
@@ -60,8 +65,8 @@ server {
6065 fastcgi_pass %backend_lsnr%;
6166 fastcgi_index index.php;
6267 fastcgi_param SCRIPT_FILENAME $request_filename;
63- include /etc/nginx/fastcgi_params;
64- include %home%/%user%/conf/web/%domain%/nginx.fastcgi_cache.conf*;
68+ include /etc/nginx/fastcgi_params;
69+ include %home%/%user%/conf/web/%domain%/nginx.fastcgi_cache.conf*;
6570 }
6671
6772 location ~ ^/sites/.*/files/styles/ {
@@ -88,4 +93,3 @@ server {
8893 include /etc/nginx/conf.d/phppgadmin.inc*;
8994 include %home%/%user%/conf/web/%domain%/nginx.ssl.conf_*;
9095}
91-
You can’t perform that action at this time.
0 commit comments