File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ The **minimum configuration** to get your application running under Nginx is:
274
274
# This rule should only be placed on your development environment
275
275
# In production, don't include this and don't deploy app_dev.php or config.php
276
276
location ~ ^/(app_dev|config)\.php(/|$) {
277
- fastcgi_pass unix:/var/ run/php7.1-fpm.sock;
277
+ fastcgi_pass unix:/run/php /php7.1-fpm.sock;
278
278
fastcgi_split_path_info ^(.+\.php)(/.*)$;
279
279
include fastcgi_params;
280
280
# When you are using symlinks to link the document root to the
@@ -289,7 +289,7 @@ The **minimum configuration** to get your application running under Nginx is:
289
289
}
290
290
# PROD
291
291
location ~ ^/app\.php(/|$) {
292
- fastcgi_pass unix:/var/ run/php7.1-fpm.sock;
292
+ fastcgi_pass unix:/run/php /php7.1-fpm.sock;
293
293
fastcgi_split_path_info ^(.+\.php)(/.*)$;
294
294
include fastcgi_params;
295
295
# When you are using symlinks to link the document root to the
You can’t perform that action at this time.
0 commit comments