Tag Archives: nginx

How to make nginx return 404 with json response

Problem I need the the nginx to return a json response instead of the default static html page “nginx is not available temporarily.blabla..” if the content-tyhpe is “application/json” in my case, nginx is used as a web app as well … Continue reading

Posted in devops | Tagged , | Leave a comment