Use 127.0.0.1 instead of localhost in Sidekiq proxy_pass.

Sidekiq only listens on v4 and using localhost will create
non-usable connections to ::1
This commit is contained in:
staticsafe 2017-04-11 23:27:25 +00:00
parent eebeee2b76
commit 036c8fdb8c
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ server {
proxy_set_header Proxy "";
proxy_pass_header Server;
proxy_pass http://localhost:3000;
proxy_pass http://127.0.0.1:3000;
proxy_buffering off;
proxy_redirect off;
proxy_http_version 1.1;