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
<!-- 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
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!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
@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
@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!