Skip to content
Snippets Groups Projects
Commit 215be1e7 authored by Byron Dokimakis's avatar Byron Dokimakis
Browse files

Replace fastcgi_pass unix:/var/run/php5-fpm.sock; with fastcgi_pass...

Replace fastcgi_pass unix:/var/run/php5-fpm.sock; with fastcgi_pass unix:{fpm_socket}; in phpmyadmin and squirrelmail blocks, as they are considered apps and should use the same (apps.sock) listener.
parent 796661c5
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ server {
fastcgi_param REDIRECT_STATUS 200;
# To access phpMyAdmin, the default user (like www-data on Debian/Ubuntu) must be used
{use_tcp}fastcgi_pass 127.0.0.1:9000;
{use_socket}fastcgi_pass unix:/var/run/php5-fpm.sock;
{use_socket}fastcgi_pass unix:{fpm_socket};
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_buffer_size 128k;
......@@ -140,7 +140,7 @@ server {
fastcgi_param REDIRECT_STATUS 200;
# To access SquirrelMail, the default user (like www-data on Debian/Ubuntu) must be used
{use_tcp}fastcgi_pass 127.0.0.1:9000;
{use_socket}fastcgi_pass unix:/var/run/php5-fpm.sock;
{use_socket}fastcgi_pass unix:{fpm_socket};
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_buffer_size 128k;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment