[GH-ISSUE #760] pangolin forwarding to localhost #6409

Closed
opened 2026-04-25 15:17:07 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @calim20 on GitHub (May 21, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/760

Hi,
I have set up a resource on a new site with PIN authentication. The subdomain gets created without issues and I can connect to it. But after entering the PIN code I get redirected to http://localhost.

The resource has apache2 running and serving a website on 127.0.0.1:80

Thanks for any advice.

Marco

Originally created by @calim20 on GitHub (May 21, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/760 Hi, I have set up a resource on a new site with PIN authentication. The subdomain gets created without issues and I can connect to it. But after entering the PIN code I get redirected to http://localhost. The resource has apache2 running and serving a website on 127.0.0.1:80 Thanks for any advice. Marco
Author
Owner

@oschwartz10612 commented on GitHub (May 22, 2025):

This sounds like your website you are hosting might be redirecting you itself after Pangolin gets you to it. Could it be something in your Apache config? Take a look at https://stackoverflow.com/questions/62359552/apache-redirects-to-localhost

<!-- gh-comment-id:2899858100 --> @oschwartz10612 commented on GitHub (May 22, 2025): This sounds like your website you are hosting might be redirecting you itself _after_ Pangolin gets you to it. Could it be something in your Apache config? Take a look at https://stackoverflow.com/questions/62359552/apache-redirects-to-localhost
Author
Owner

@calim20 commented on GitHub (May 22, 2025):

Thank you very much! I've created the site using wordpress. Originally I wanted only local access and set the site address to http://localhost in the wordpress settings. After changing this to the subdomain i've created in pangolin I get a "Bad gateway", which is closer to my goal. Now I have to figure out why setting the target configuration to "http localhost 80" is not working. The apache2 is serving port 80 on the host...

Best regards and have a nice day!

<!-- gh-comment-id:2900988286 --> @calim20 commented on GitHub (May 22, 2025): Thank you very much! I've created the site using wordpress. Originally I wanted only local access and set the site address to http://localhost in the wordpress settings. After changing this to the subdomain i've created in pangolin I get a "Bad gateway", which is closer to my goal. Now I have to figure out why setting the target configuration to "http localhost 80" is not working. The apache2 is serving port 80 on the host... Best regards and have a nice day!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#6409