I have this under http in my nginx.conf file:<div><br></div><div><div> error_page 404 /var/www/apps/myapp/templates/404.html;</div><div> error_page 502 503 504 /var/www/apps/myapp/templates/500.html;</div>
<div><br></div><div>I can access these at <a href="http://myapp.com/500.html">myapp.com/500.html</a> and <a href="http://myapp.com/400.html">myapp.com/400.html</a> but when I get a 502 gateway error instead of displaying the 500.html page I get the default nginx page. Any suggestions?</div>
<div><br class="webkit-block-placeholder"></div><div>Best,</div><div>Jamie</div></div>