1
Web Proxy Filtering and Caching / Re: NGINX: Can I use URL Pattern Matching to reverse proxy to different servers?
« on: February 02, 2021, 05:02:31 am »sorry, realy dont know what to say. other nginx.conf file is a template file at /usr/local/opnsense/service/templates/opnsense/nginx/ but its small and contains only modules and includes
real nginx config should be in /usr/local/etc/nginx/nginx.conf
I have decided to come back to this to try and figure out a little more. In the nginx.conf file located in the directory you indicated, it seems that all the locations are generic but are linked to upstream servers that are identified by a generated ID, as shown in the image. I can't change the proxy_pass variable, because it points to the upstream ID. Take a look at the two images I have attached to see what I'm talking about.
Thanks!