1

Is possible to proxify external site with nginx like this:

server_name www.clientsite.com clientsite.com;

...

proxy_pass http://www.externalsite.com/;

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?

1 Answers1

0

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 https://www.varnish-cache.org/

coredump
  • 12,713
  • 2
  • 36
  • 56