nginx naxsi - whitelist

Started by fan2bsd, August 09, 2023, 11:44:41 AM

Previous topic - Next topic
Hello,

I would like advice on how to add the result from the learning mod to the whitelist.

I tried putting the log output into nxutil (installed on my PC). I copied the recommended output values from nxutil to /usr/local/etc/nginx.conf in the OPNSense box. After restarting the NGINX service (from the command line) everything was fine and ngxinx respected the entered values. But if I used the "Apply" button in NGINX configuration, the values added by me in nginx.conf are lost.

Is there any way to correctly enter the values from the learning mode into the whitelist? Is there a development plan to automate learning mode with the addition of whitelist rules?