Pangolin + Traefik add custom configuration for a site #35

Closed
opened 2025-11-13 11:48:10 -06:00 by GiteaMirror · 5 comments
Owner

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.

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.
Author
Owner

@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/home but auth at http://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?

@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/home` but auth at `http://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?
Author
Owner

@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

@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
Author
Owner

@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!

@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!
Author
Owner

@trisosamu 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!

Thank you!!

@trisosamu 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! Thank you!!
Author
Owner

@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! :)

@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! :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#35