error handling - How can i make sure nginx in django is working? -
i using nginx in django , want include custom http error handlers(like handler404,500..). want make sure nginx working , custome error handlers working. want 1 method check . code custome error pages in nginx conf file shown below:
error_page 404 /404.html; location = /404.html { root html; internal; } error_page 403 /403.html; location = /403.html { root html; allow all; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; allow all; } anyone got idea make sure nginx working in localhost?
Comments
Post a Comment