Skip to content

Commit

Permalink
Merge pull request #64 from crazy-max/master
Browse files Browse the repository at this point in the history
Stick FastCGI to IP address to avoid unhandled IPv6 error
  • Loading branch information
fredsted committed May 7, 2019
2 parents 90e4169 + 4430f39 commit 340fd69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx.conf
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 340fd69

Please sign in to comment.