Correct way to setup maintenance page in nginx

Valentin V. Bartenev i at vbart.ru
Fri Nov 4 09:48:15 UTC 2011


On Friday 04 November 2011 12:55:45 Quintin Par wrote:
> On second thought don’t you think the file check in the “if” condition is
> expensive considering it will be executed on every hit?

If you don't deal with high-load or dedicated file storage with big access 
latency, then don't worry. IMHO.

Also, you can try to tune Nginx open file cache:
http://nginx.org/en/docs/http/ngx_http_core_module.html#open_file_cache

wbr, Valentin V. Bartenev



More information about the nginx mailing list