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:
274274 # This rule should only be placed on your development environment
275275 # In production, don't include this and don't deploy app_dev.php or config.php
276276 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;
278278 fastcgi_split_path_info ^(.+\.php)(/.*)$;
279279 include fastcgi_params;
280280 # 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:
289289 }
290290 # PROD
291291 location ~ ^/app\.php(/|$) {
292- fastcgi_pass unix:/var/ run/php7.1-fpm.sock;
292+ fastcgi_pass unix:/run/php /php7.1-fpm.sock;
293293 fastcgi_split_path_info ^(.+\.php)(/.*)$;
294294 include fastcgi_params;
295295 # When you are using symlinks to link the document root to the
You can’t perform that action at this time.
0 commit comments