Answer the question
In order to leave comments, you need to log in
How to stop varnish from rewriting expires headers for static?
Put varnish before nginx with simple
backend default {
.host = "127.0.0.1";
.port="8181";
}
By default, Varnish apparently rewrites the expires and max-age header for images, and it is configured differently in nginx for different images, how can I force it to leave expires from nginx?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question