Skip to content

Commit e132c54

Browse files
author
Digimix
committed
PHP7.0 Unix socket to upstream fastcgi_backend
1 parent 6db5458 commit e132c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# # server 127.0.0.1:9000;
99
# # or socket
1010
# server unix:/var/run/php5-fpm.sock;
11+
# server unix:/var/run/php/php7.0-fpm.sock;
1112
# }
1213
# server {
1314
# listen 80;
@@ -47,7 +48,6 @@ location /update {
4748

4849
location ~ ^/update/index.php {
4950
fastcgi_split_path_info ^(/update/index.php)(/.+)$;
50-
# fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
5151
fastcgi_pass fastcgi_backend;
5252
fastcgi_index index.php;
5353
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

0 commit comments

Comments
 (0)