Skip to content

Commit 254d4d9

Browse files
author
Alexandros Ioannides
authored
Update drupal-social.stpl
1 parent e7b657d commit 254d4d9

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

install/deb/templates/web/nginx/php-fpm/drupal-social.stpl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
#=======================================================================#
2+
# Default Web Domain Template #
3+
# DO NOT MODIFY THIS FILE! CHANGES WILL BE LOST WHEN REBUILDING DOMAINS #
4+
#=======================================================================#
5+
16
server {
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-

0 commit comments

Comments
 (0)