-
Notifications
You must be signed in to change notification settings - Fork 170
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;