phpbb behind a reverse proxy

Posted by asciitaxi on Server Fault See other posts from Server Fault or by asciitaxi
Published on 2010-12-21T23:57:10Z Indexed on 2010/12/22 0:56 UTC
Read the original article Hit count: 288

Filed under:
|
|
|

Hi, i've got a django app running on apache behind an nginx reverse proxy. Nginx takes requests on port 80 and forwards them to apache on 127.0.0.1:81. This works fine.

Now I want to run phpbb on apache under /forums. My problem is that when phpbb does a redirect, it seems to redirect to the internal apache port, rather than port 80. So, for instance when I first go to http://my-dev-server/forums to configure php bb, it immediately redirects to http://127.0.0.1:81/forums/install/index.php.

Is there something I need to do in nginx/apache/phpbb config to get it to redirect to the external port? Thanks very much!

© Server Fault or respective owner

Related posts about apache

Related posts about nginx