mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-21 09:21:15 -05:00
[GH-ISSUE #1044] Dedicated Error Page #12538
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nurhalim88 on GitHub (Jul 10, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1044
Originally assigned to: @miloschwartz on GitHub.
For common errors like 404, 500 or Internal Server Error it would be better to redirect to a dedicated error page. It looks nicer and is better than just displaying a plain "404 page not found" or "Internal Server Error" message.
You (Browser) Working ✅ <-> Proxy (Pangolin) Working ✅ <-> Host (something.com) Error ❌
Below is the sample, thanks.
@oschwartz10612 commented on GitHub (Jul 10, 2025):
We actually have a POC of this working internally and could release some instructions for it sometime soon!
@miloschwartz commented on GitHub (Jul 12, 2025):
Yeah we can work on docs for this. We've played around with this tool: https://github.com/tarampampam/error-pages?tab=readme-ov-file
Pretty easy to set up and use
@MorganKryze commented on GitHub (Jul 31, 2025):
That would be a pretty nice feature! I tried it on a separate server and got it working pretty well. But got an issue with "vanilla" error pages still appearing on 404 pages for services that were down. But once up, those service would deliver proper error pages. Could not figure out why, did you manage to mitigate this issue?
@coolbepps commented on GitHub (Aug 18, 2025):
Would you be willing to share some details about how you managed to got it working? I'm having some difficulties and the only thing I managed to achieve was 404'ing all my resources. Thanks in advance!
@coolbepps commented on GitHub (Aug 18, 2025):
I managed to make it work:
dynamic_config.yml.dynamic_config.yml.dynamic_config.yml.5, Finally, added the middleware to the
websecureentrypoint intraefik_config.yml.So far it seems to work well, I will report if there's any issues I run into.
@elcajon commented on GitHub (Aug 18, 2025):
I've been tracking this issue for a while and have just tested your solution. Everything works perfectly. Thank you very much! Perhaps this would be worth submitting as a pull request here:
https://github.com/fosrl/docs-v2/tree/main/self-host/community-guides
@oschwartz10612 commented on GitHub (Aug 23, 2025):
Yep thats pretty much how we got it to work as well sorry for not
getting back to you in time.
Yeah a guide would be super cool if you want to take a stab at it! :}
I dont feel like we should bake it in quite yet to the default install...
@jiriteach commented on GitHub (Nov 9, 2025):
Hi - I have a quick question. This works however if I want to change the rule so certain domains are excluded, it does not - in fact anything I change the rule to does not work. Any idea what could be causing this?
In my case - since I have Plex - installed proxied - loading this - Plex throws a 401 then redirects to its login screen. The 401 however is being intercepted and show in the custom error so trying to exclude this. Thanks