Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is possible to proxify external site with nginx like this:




This is the unique request of my client. He wants to do with caching for external links to your site for faster loading ... I have no ideas, I tried it and it works with some sites and some do not. Solutions?

share|improve this question

It should work that way. If your client needs caching, why not use a dedicated cache tool like varnish? It has a config language that is very powerful (when you finally understand it). The website is

share|improve this answer
and varnish may make an exotic configuration as that required? Can you please show me an example? Thanks for response – user1147636 Feb 14 '12 at 12:36
with nginx nothing? – user1147636 Feb 14 '12 at 17:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.