Re: Nginx's sub_filter does not replace paths in CSS and JS

2020-02-06 Thread Francis Daly
On Wed, Feb 05, 2020 at 07:04:09AM -0500, !QVAS! wrote: Hi there, > location /new { > proxy_pass http://172.22.3.15/; > } > server { > listen 80; > server_name 172.22.3.15; > > location / { > proxy_pass http://172.22.3.

Nginx's sub_filter does not replace paths in CSS and JS

2020-02-05 Thread !QVAS!
I have two nginx servers, let's call them nginx1 and nginx2. Nginx1 is located in a separate infrastructure and processes requests, and also provides static files for examplesite.com. Nginx2 is in a different infrastructure and processes requests, and also gives static files on request 172.22.3.15.