Problem with NGINX

Started by afX33800, August 02, 2025, 07:24:10 PM

Previous topic - Next topic
Hello all,

I've updated to 25.7.1 and I've a problem with Nginx in GUI.

Nginx is running fine (my webproxy is ok, all of my website are served very well).
the problem is on OpnSense GUI. On Services -> nginx I can't modify my configuration.
IT seems that GUI can't update with the status of Nginx.

Have you an idea to regain access to my nginx configuration on opnsense GUI ?

thanks !

Aurélien


Same for me. It works sometimes, but most of the time the config will not load.
If the config shows up the cpu load is unsual high. Same for a restart.
The service itself works fine.

Could not find anything in logs, but also not really sure what to look for.
Any information I could provide ?
Regards
Ralf

I seem similar behavior.  I have to recommend do not try to modify the config with the UI.  It doesn't appear to modify the nginix.conf file correctly.

Same here.  From what I can tell the nginx opnsense API calls are extremely slow for some reason.  If you wait long enough the page(s) will load and you can eventually add servers, etc.

That said this has gotta be some kind of regression.  Like others the nginx server itself is running just fine.

Its just a hunch but can you try this if you are on 25.7.1

# opnsense-patch https://github.com/opnsense/core/commit/e18a9e9261146b16bf10d937df123681c3640a0d

My Caddy plugin was really slow too and we tracked it down to this.
Hardware:
DEC740

August 15, 2025, 06:50:42 PM #5 Last Edit: August 17, 2025, 06:31:15 PM by RamSense
I just tried the opnsense-patch https://github.com/opnsense/core/commit/e18a9e9261146b16bf10d937df123681c3640a0d patch, but my nginx - services-nginx-configuration - Enable nginx still stays blank and after quite a while waiting it says enabled tag. Still very slow like it was(?)

N.B. It worked fine, just needed to restart nginx
Deciso DEC850v2

There might be other shennenigans going on then. Best open a ticket for the maintainer.
Hardware:
DEC740

Quote from: Monviech (Cedrik) on August 15, 2025, 07:08:38 AMIts just a hunch but can you try this if you are on 25.7.1

# opnsense-patch https://github.com/opnsense/core/commit/e18a9e9261146b16bf10d937df123681c3640a0d

My Caddy plugin was really slow too and we tracked it down to this.

You are a gentleman and a scholar.  This appeared to fix it after i restarted the nginx service (service nginx restart)

Also affected by this bug in 25.7.1 since a few days, I can confirm the patch given by RamSense worked perfectly.

Thanks

Works fine again.
Now I also know how to patch a running system :-)

Thanks for the support.

Quote from: skar_cgn on August 03, 2025, 11:35:56 PMSame for me. It works sometimes, but most of the time the config will not load.
If the config shows up the cpu load is unsual high. Same for a restart.
The service itself works fine.

Could not find anything in logs, but also not really sure what to look for.
Any information I could provide ?
Regards
Ralf