Protect debug page and warn uri
Add a 500 page for nginx