<html><body><div style="font-family: Tahoma; font-size: 12pt; color: #000000"><div>Hello,</div><div><br data-mce-bogus="1"></div><div><div>Is it possible to use Nginx as a proxy for another website, while also having the ability to replace absolute paths in CSS, JS, and HTML content?</div><div><br></div><div>For example, I would like to have an Nginx server running at the URL http://proxy1-server.com that proxies a web server running at the URL http://192.168.10.10 (private IP). The web server could be any server such as Apache, LiteSpeed, IIS, etc. I can achieve this using an Nginx reverse proxy, but I would also like to rewrite the absolute URLs within the CSS, JS, and HTML files from http://192.168.10.10/file.css to http://proxy1-server.com/file.css, in order to avoid any functionality issues when accessing the website from outside the network.</div><div><br></div><div>The idea is to replace these URLs within the proxy server itself, rather than modifying the web server where the website is hosted.</div><div><br data-mce-bogus="1"></div><div>Thank you!</div></div><div><br></div><div data-marker="__SIG_PRE__"><blockquote style="border-left:2px solid #f3f3f3;padding-right:5px;padding-left:15px;margin-left:10px;margin-right:0px"><b><span style="color:#666666"><span style="font-family:'tahoma' , 'new york' , 'times' , serif"><span class="Apple-style-span" style="font-size:small">Jose David Bravo Álvarez</span></span></span></b><br></blockquote></div></div></body></html>