Welcome! Log In Create A New Profile

Advanced

Proxy bypass

January 01, 2011 11:45AM
Hi,
I am planning to use the nginx proxy to serve big static files from several servers.
Each proxy server will have several origins.
There are some files I don't want to serve through the proxy, but directly from the origin.

My question is:
If I use "proxy_cache_bypass" with "proxy_no_cache", the file transfer will still be made through the proxy?

Allow me to clarify:
Will the proxy server use it's own bandwidth to fetch (from origin) and serve the file (from the proxy)? [u][b]OR[/b][/u] it will bypass the proxy server entirely and serve the content from the origin (proxied server) [u]directly[/u] to the client ?

If the answer is "yes" for the first question, how can I make it work the other way? (serve directly from origin on proxy bypass)

I don't want the proxy server to act as a bottleneck.

Thanks.
Subject Author Posted

Proxy bypass

digger18 January 01, 2011 11:45AM

Re: Proxy bypass

Dayo January 01, 2011 01:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
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