Open Evgeniy-Bondarenko opened 3 years ago
How enable custom page in UNIT error (php/pyhon applications)?
as in nginx:
error_page 502 /502.html; error_page 503 /503.html; location = /502.html { root /var/www/; try_files $uri /502.html; } location = /503.html { root /var/www/; try_files $uri /503.html; }
Unfortunately, there's no way to overwrite error pages in Unit right now and you have to use external solution. This feature is in the TODO list.
How enable custom page in UNIT error (php/pyhon applications)?
as in nginx: