Welcome! Log In Create A New Profile

Advanced

browser requet to proxy is using localhost

Posted by godadada 
browser requet to proxy is using localhost
August 12, 2019 10:26AM
Hey,

This is an obvious question, must have been asked, but I could not find existing ones.

I have a jetty web server using localhost:8080. I am using nginx as proxy with www.somedomain.com.
I have configured it working for first page, access www.somedomain.com redrects to localhost:8080.
But the links in the web pages downloaded to browser are still using loalhost:8080/**, it should be using www.somedomain.com.
What should I do to ensure all page links are using proxy url, www.somedomain.com, not localhost:8080.

Thanks in advance for any input/pointers.

G
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 303
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready