Ngnix Header Port - Omada Controler

Started by Oachkatze, February 08, 2023, 11:46:07 AM

Previous topic - Next topic
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 :)