Skip to content

Commit

Permalink
Stick FastCGI to IP address to avoid unhandled IPv6 error
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed May 7, 2019
1 parent 90e4169 commit 4430f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ server {
# nothing local, let fpm handle it
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass localhost:9000;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param REQUEST_METHOD $request_method;
Expand Down

0 comments on commit 4430f39

Please sign in to comment.