Set Nginx values not configurable in the UI

Started by HunvHunv, November 09, 2024, 10:04:15 PM

Previous topic - Next topic
Hi,

I use the Nginx Plugin to realize a reverse Proxy. For a software I use I need to set the following settings in a location, but it seems like I can't do it (or I didn't find the correct value). I checked the resulting nginx.conf at /usr/local/etc/nginx and they are not mentioned.

The not found valued are:
   location / {
        proxy_set_header CLIENT_HOST $remote_addr;
        proxy_set_header Origin "";
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }


Are these settings available but I haven't found it? If not: is it possible to add them manually without overwrite manual changes on the config when opnsense is updating the config?