Hi Francis,

Thank you for your response. After some further reading I think now I
get the processing cycle. I would rather not create a separate root
for one file, so I settled with the following:

    location = /unavailable.html {
        return 503;
    }

    location @unavailable {
        try_files /unavailable.html =500;
    }

    try_files $uri =503;

    error_page 503 @unavailable;


Thanks,
Ádám

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to