OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: Oachkatze on February 08, 2023, 11:46:07 AM

Title: Ngnix Header Port - Omada Controler
Post by: Oachkatze on February 08, 2023, 11:46:07 AM
Hello,

I have a question, I have installed the ngnix onmy Opnsense, and would like to include my Omada Controler.

The connection does not work so easily, after much googling I found an error.
It must be specified in the proxy_set_header host $host:8043; the port with.
Unfortunately, I can not find this setting in the GUI at the Opnsense.
I tried the settings /usr/local/etc/nginx/nginx.conf to insert the $host:8043 there.

After confirming, the reverse proxy works on the Omada controller.

My problem is that when I turn off the service and turn it on again, the config file is overwritten to default and I have to enter the port again manually.

Is there a way to do this correctly? 

Thanks :)
Title: Re: Ngnix Header Port - Omada Controler
Post by: Fright on February 09, 2023, 08:19:57 AM
Hi
https://forum.opnsense.org/index.php?topic=31234.0