Replies: 1 comment 1 reply
-
Hi
You can't at the moment, the feature just does not exist. Edit : I misread your sentence, I meant the "custom error page by specific error code" feature is absent from nginx-proxy. Adding custom pages for 500-511 should be doable, however I'm not certain 520-530 make sense in this context : if I understood correctly they're specific to Cloudflare, and nothing but Cloudflare's reverse proxy will return those HTTP error codes. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is a part of the docker-compose.yml file
The generated nginx config seems to be expecting a single 50x.html file as per the documentation
I honestly don't know how to add a dynamic message inside the 50x.html that nginx will automatically substitute for different 50x errors like 501, 502, 503 etc
Apart from modifying the nginx.tmpl file manually is there no way to achieve different custom error pages for different errors?
Beta Was this translation helpful? Give feedback.
All reactions