|
|
@@ -1,7 +1,12 @@
|
|
|
+#=======================================================================#
|
|
|
+# Default Web Domain Template #
|
|
|
+# DO NOT MODIFY THIS FILE! CHANGES WILL BE LOST WHEN REBUILDING DOMAINS #
|
|
|
+#=======================================================================#
|
|
|
+
|
|
|
server {
|
|
|
listen %ip%:%web_ssl_port% ssl http2;
|
|
|
server_name %domain_idn% %alias_idn%;
|
|
|
- root %docroot%/html;
|
|
|
+ root %docroot%/web;
|
|
|
index index.php index.html index.htm;
|
|
|
access_log /var/log/nginx/domains/%domain%.log combined;
|
|
|
access_log /var/log/nginx/domains/%domain%.bytes bytes;
|
|
|
@@ -60,8 +65,8 @@ server {
|
|
|
fastcgi_pass %backend_lsnr%;
|
|
|
fastcgi_index index.php;
|
|
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
|
|
- include /etc/nginx/fastcgi_params;
|
|
|
- include %home%/%user%/conf/web/%domain%/nginx.fastcgi_cache.conf*;
|
|
|
+ include /etc/nginx/fastcgi_params;
|
|
|
+ include %home%/%user%/conf/web/%domain%/nginx.fastcgi_cache.conf*;
|
|
|
}
|
|
|
|
|
|
location ~ ^/sites/.*/files/styles/ {
|
|
|
@@ -88,4 +93,3 @@ server {
|
|
|
include /etc/nginx/conf.d/phppgadmin.inc*;
|
|
|
include %home%/%user%/conf/web/%domain%/nginx.ssl.conf_*;
|
|
|
}
|
|
|
-
|