C
C
Cyril2018-02-25 23:48:25
Nginx
Cyril, 2018-02-25 23:48:25

How to generate custom html page with 500 error?

For some reason, the header is 500, but there is no html ...
5a931fe610519295045174.png
In nginx
5a93202abac43181552487.png
Contents of the folder
5a9320a1d91d6987410127.png
How can I at least make it a standard browser page?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2018-02-26
@draaax

error_page 500 502 503 504 =200 /50x.html;
To have a standard page - remove the directive error_page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question