Using "if -f" to return 503 for maintenace: good or bad?

DeineAgentur nginx-forum at
Wed Jul 18 18:25:14 UTC 2012

Your solution is okay. 

Thats the only way if you maintaince your site. Google will come back
again. And dont get an error 404 or else.

So your search index will not destroy.

Posted at Nginx Forum:,228604,228711#msg-228711

More information about the nginx mailing list