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 at the moment it still shows nginx's default error page. I have the same code for my other server (without any blocking) and it works. Is it blocking the IP from accessing the custom 403 page? If so how do I get it to work? server { # ssl listen 443; ssl on; ssl_certificate /etc/nginx