Welcome! Log In Create A New Profile



June 03, 2010 12:06PM
Hello i've got just 2 Servers.
Both are running nginx 0.8.39. Server 1 should be a reverse proxy to another Server 2 with nginx and a php backend. but when i set proxy_pass http://server2/; i can't open admincp/index.php with the url of server 1, it brings me error 404...

This is my location of server 1
location /test/ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://server2:80;


know when I got a php script on server 2 that redirect to server2/directory/index.php i get an error 404
Subject Author Posted


kleinchris June 03, 2010 12:06PM

Re: Proxying..

kleinchris June 04, 2010 05:04PM

Re: Proxying..

Boris Dolgov June 04, 2010 05:20PM

Re: Proxying..

kleinchris June 04, 2010 07:23PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 102
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready