So I have nginx running, and have it running as a reverse proxy to Apache. Apache is my main webserver hosting a Phpbb forum. Now the problem I seem to having is that through nginx I can't log in to the forum. It shows the login, shows a success page, but as I return to the index, or any page it doesn't show me as logged in.
I've tried X-Forward-for, and setup the apache module rpaf, tried without any cache enabled, and I can't seem to get it to work. What I'd like to have is apache as the main server, with nginx acting as a cache server to serve requests but also allow logins. I plan to expand and have more nginx servers, and if someone could help me or direct me as to how to setup a proper nginx configuration to make this work, it'd be greatly appreciated.
The nginx server and apache server are not the same ip/server/country.
I've tried X-Forward-for, and setup the apache module rpaf, tried without any cache enabled, and I can't seem to get it to work. What I'd like to have is apache as the main server, with nginx acting as a cache server to serve requests but also allow logins. I plan to expand and have more nginx servers, and if someone could help me or direct me as to how to setup a proper nginx configuration to make this work, it'd be greatly appreciated.
The nginx server and apache server are not the same ip/server/country.