NGiNX doesn't want to work with a unix-socket. #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For some reason I cannot make NGiNX communicate with this service over unix-sockets.
I get recursive 301 redirects that remove and add slashes over and over again in one case. Or 502 bad request and an error "(20: Not a directory)" in error.log in another.
Okay, the issue was that I had to add a ':' sign after path, and only then place '/'.
proxy_pass http://unix:/var/run/justcaptcha/j.sock:/;
And not:
proxy_pass http://unix:/var/run/justcaptcha/j.sock/;