Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@rpcross
Copy link
Collaborator

@rpcross rpcross commented Dec 22, 2025

Using the nginx setting "proxy_pass http://localhost:8000" results in nginx attempting to connect to gunicorn app server over ipv6 and timing out, spamming log with errors:

connect() failed (111: Connection refused) while connecting to upstream, client: 10.244.11.165, server: _, request: "GET /favicon.ico HTTP/1.1", upstream: "http://[::1]:8000/favicon.ico", host: "mailarchive.ietf.org", referrer: "https://mailarchive.ietf.org/arch/export/url/?...

Change to http://127.0.0.1:8000 to specify ipv4.

@rpcross rpcross marked this pull request as ready for review December 22, 2025 21:43
@rjsparks rjsparks requested a review from NGPixel December 24, 2025 14:10
@rpcross rpcross merged commit efe66e2 into main Jan 8, 2026
6 checks passed
@rpcross rpcross deleted the feat/nginx-conf branch January 8, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants