Welcome! Log In Create A New Profile

Advanced

Not sure if it's passing to the proxy properly

James Matthews
February 05, 2010 02:48AM
Hi,

I am passing my requests like this
if ( -f $request_filename){
expires 30d;
break;
}
proxy_pass http://127.0.0.1:20000;

However Apache is still serving everything (images included). How can I get
it to move only through nginx (for images and other files).

James


--
http://www.goldwatches.com

--
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Not sure if it's passing to the proxy properly

James Matthews February 05, 2010 02:48AM

Re: Not sure if it's passing to the proxy properly

Maxim Dounin February 05, 2010 04:34AM

Re: Not sure if it's passing to the proxy properly

Igor Sysoev February 05, 2010 04:38AM

Re: Not sure if it's passing to the proxy properly

Maxim Dounin February 05, 2010 05:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 151
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready