Related questions
nginx not serving my error_page
I have a Sinatra application hosted with Unicorn, and nginx in front of it. When the Sinatra application errors out (returns 500), I'd like to serve a static page, rather than the default "Internal Server Error". I have the following nginx …
Return custom 403 error page with nginx
Im trying to display the error page in /temp/www/error403.html whenever a 403 error occurs.
This should be whenever a user tries to access the site via https (ssl) and it's IP is in the blovkips.conf file, but …
Nginx, PHP + FPM Custom Error Pages
I am trying to create some custom error pages but can't seem to get the 500 one working.
I have the following config:
server {
listen 80;
root /var/www/devsite;
index index.php;
server_name devsite;
error_page 403 = /error.php?code=403;
error_…