Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

browser requet to proxy is using localhost

$
0
0
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

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>