mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-11 17:33:49 -05:00
Pangolin + Traefik add custom configuration for a site #35
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 @trisosamu on GitHub (Jan 25, 2025).
Hello everyone, I need to add authentication with a username and password to a sub-page website. I have published through Pangolin. The website and Pangolin are on two separate vps, and I am using Newt for this. If I create a http router on Traefik pointing to the address of my website, authentication obviously does not work because Traefik does not actually know the vps or the IP address of the website. How can I solve this? I hope I explained myself clearly. I tried to edit dynamic_config.yml.
@oschwartz10612 commented on GitHub (Jan 25, 2025):
Hi!
I am not 100% sure of what you are asking. Are you requesting authentication on only certain paths of a site? For example no auth at
http://example.com/homebut auth athttp://example.com/user? If so this is a current feature request and is going to be in the works soon!If not could you elaborate further?
@trisosamu commented on GitHub (Jan 25, 2025):
yes that's what i meant. but i thought it could be done already now by customizing the traefik conf file without doing it directly from the pangolin panel
@oschwartz10612 commented on GitHub (Jan 26, 2025):
Problem is all of the config for what Traefik does is dynamically generated in Pangolin and pulled into Traefik. I think you could have a hard time doing it manually in Traefik with Pangolin still controlling the resource.
I think this is something we will tackle sometime soon so I will leave it open and let you know when it is implemented!
@trisosamu commented on GitHub (Jan 26, 2025):
Thank you!!
@miloschwartz commented on GitHub (Jan 27, 2025):
I am going to close this issue because it's already discussed in a feature request #98.
Hope to have this feature available soon! :)