Answer the question
In order to leave comments, you need to log in
Is it possible to override the inheritance of lokeshens without copy-paste?
Here is about this kind of config.
server {
listen 80;
server_name example.com;
location / {
proxy_cache site;
proxy_cache_bypass $cookie_sessionid;
proxy_cache_valid 3s;
proxy_cache_valid 200 3s;
proxy_pass http://127.0.0.1:8111;
location /page2/ {
proxy_cache_valid 200 1m;
}
}
Answer the question
In order to leave comments, you need to log in
as an option, you can put it in a separate file and make include in both locations and what needs to be reassigned already
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question