Problem purging cache when website behind reverse proxy
-
Hi,
My client’s website is accessed via a reverse proxy. Consequently there are two domain names in use:
- External domain name (users and the plugin see) e.g. https://www.mywebsite.com
- Internal domain name (Varnish sees) e.g. internal.mywebsite.com
The plugin is trying to purge the external domain name, however due to the reverse proxy directing traffic to the server, Varnish is a caches pages with the internal domain name. Consequently the plugin cannot purge the cache as the domain name is incorrect.
Would it be possible to update the plugin so that we can set an alternative domain name via a constant?
Thanks,
Gareth
- The topic ‘Problem purging cache when website behind reverse proxy’ is closed to new replies.