rejectedsoftware / vibenews

Combined web forum and NNTP server implementation for stand-alone newsgroups
GNU Affero General Public License v3.0
44 stars 3 forks source link

Redirect fails behind rproxy #35

Open logicfish opened 7 years ago

logicfish commented 7 years ago

Running vibenews behind a varnish proxy. After signup, the software redirects to a url containing the local bound port, rather than the one for the proxy.

s-ludwig commented 7 years ago

You need to configure the proxy to set the X-Forwarded-Port (and possibly X-Forwarded-Proto) headers to make redirects work correctly. I don't know how the Varnish configuration for would look like, so if you make it work, it would be nice to put that in the wiki as a reference.