Skip to content

Fix network connection issue after reverse proxy support. - #22

Merged
TsFreddie merged 1 commit into
asphyxia-core:masterfrom
duel0213:fix-reverse-proxy
Sep 9, 2026
Merged

Fix network connection issue after reverse proxy support.#22
TsFreddie merged 1 commit into
asphyxia-core:masterfrom
duel0213:fix-reverse-proxy

Conversation

@duel0213

@duel0213 duel0213 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

This PR introduces single change

  • Reverted usage of req.get('host').
    • This change caused network connection error if user supplied url without proto like this localhost:8083.
    • The urls were returned with http://localhost:8083:8083 and game complains about url, after change it back to use req.hostname the issue got resolved.

Has been tested with reverse proxy/non reverse proxy environment and confirmed both are working as intended.

@TsFreddie
TsFreddie merged commit d4641c0 into asphyxia-core:master Sep 9, 2026
4 checks passed
@duel0213
duel0213 deleted the fix-reverse-proxy branch September 12, 2026 08:10
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.

2 participants