Answer the question
In order to leave comments, you need to log in
Why doesn't timeout work in location?
Why doesn't nginx change timeout values for a specific location?
location /example {
proxy_read_timeout 5s;
proxy_connect_timeout 5s;
proxy_send_timeout 5s;
try_files $uri $uri/ /index.php/exl?$query_string;
}
Answer the question
In order to leave comments, you need to log in
location /example {
try_files $uri @backend;
}
location @backend {
proxy_read_timeout 5s;
proxy_connect_timeout 5s;
proxy_send_timeout 5s;
rewrite ^ /index.php/exl break;
proxy_pass http://backend;
}
location /example {
proxy_read_timeout 5s;
proxy_connect_timeout 5s;
proxy_send_timeout 5s;
rewrite ^ /index.php/exl break;
proxy_pass http://backend;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question