Skip to content

Commit 831dd0a

Browse files
author
Marius Cramer
committed
Merge branch 'master' into 'master'
Replace fastcgi_pass unix:/var/run/php5-fpm.sock; with fastcgi_pass unix:{fpm_so… …cket}; in phpmyadmin and squirrelmail blocks, as they are considered apps and should use the same (apps.sock) listener. See merge request !236
2 parents 3ff9d21 + 215be1e commit 831dd0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/conf/nginx_apps.vhost.master

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ server {
9090
fastcgi_param REDIRECT_STATUS 200;
9191
# To access phpMyAdmin, the default user (like www-data on Debian/Ubuntu) must be used
9292
{use_tcp}fastcgi_pass 127.0.0.1:9000;
93-
{use_socket}fastcgi_pass unix:/var/run/php5-fpm.sock;
93+
{use_socket}fastcgi_pass unix:{fpm_socket};
9494
fastcgi_index index.php;
9595
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
9696
fastcgi_buffer_size 128k;
@@ -140,7 +140,7 @@ server {
140140
fastcgi_param REDIRECT_STATUS 200;
141141
# To access SquirrelMail, the default user (like www-data on Debian/Ubuntu) must be used
142142
{use_tcp}fastcgi_pass 127.0.0.1:9000;
143-
{use_socket}fastcgi_pass unix:/var/run/php5-fpm.sock;
143+
{use_socket}fastcgi_pass unix:{fpm_socket};
144144
fastcgi_index index.php;
145145
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
146146
fastcgi_buffer_size 128k;

0 commit comments

Comments
 (0)