wallabag lost port when redirecting requests from reverse proxy
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker, nginx
- Domain
- devops, infrastructure
Research direction
Start by reproducing the redirect with the supplied Docker environment, SYMFONY__ENV__DOMAIN_NAME value, and reverse-proxy headers. Trace how the application constructs the login redirect and verify that visiting https://wallabag.a.com:6666 redirects to a URL that preserves port 6666.
Written by the indexing model from the issue text.
Description
I am working on deploying a wallabag behind reverse proxy.
wallabag container adderss: http://127.0.0.1:5555,
reverse proxy domain: https://wallabag.a.com:6666,
Wallabag configure:
- SYMFONY__ENV__DOMAIN_NAME=https://wallabag.a.com:6666
When visiting “https://wallabag.a.com:6666”,the server redirected to "https://wallabag.a.com/login“,miss the port.
wallabag log:
::ffff:10.0.3.9 - - [03/Jul/2025:10:53:02 +0800] "GET / HTTP/1.1" 302 215 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0"
reverse proxy config:
proxy_set_header Host '$host'; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-Host $host:$server_port;
- Dominant language
- Shell
- Stars
- 771
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wallabag/docker
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Awaiting response
Difficulty 4/5 3-5 days Newbie friendliness 32/100
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
e2e-failure ready-to-code
Difficulty 1/5 Under an hour Newbie friendliness 82/100
redhat-developer/rhdh-plugin-export-overlays#4485 · 1 comment ·
Maintainers usually reply within 1 day
-
good first issue spells
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
fix(session-flow): redact.py misses bare sk-ant-oat01- tokens and stateless ghs_ tokens with dotsOpenneeds-human
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
melodic-software/claude-code-plugins#9026 · 1 comment ·
Maintainers usually reply within 1 day
-
bug raised-by:verifier
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
medici-finance/assay#4008 ·
Maintainers usually reply within 1 day