OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: wschlich on February 13, 2019, 08:37:39 AM

Title: OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
Post by: wschlich on February 13, 2019, 08:37:39 AM
Hi!

It seems that /usr/local/etc/nginx/nginx.conf is only rewritten/updated upon disabling+re-enabling the nginx service.

I added an HTTP server and a Location, but no server {} entry was visible in nginx.conf, even after re-starting the service.

Only after I disabled and re-enabled the service, the nginx.conf was rewritten/updated and contains the configured server {} entry.

I consider this a bug?

Cheers,
Wolfram
Title: Re: OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
Post by: mimugmail on February 13, 2019, 08:40:48 AM
Did you push the small circle button beneath the plus?
Title: Re: OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
Post by: wschlich on February 13, 2019, 10:31:24 AM
Nope, I didn't. Never noticed this kind of button before :) Is it an "Apply" button (which is labelled "Apply" in other places)?! Doesn't show a mouseover description :(
Title: Re: OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
Post by: mimugmail on February 13, 2019, 12:42:40 PM
Yes it is, just try it
Title: Re: OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
Post by: wschlich on February 13, 2019, 02:01:38 PM
Works fine :D To me that button looked like a "refresh" button (for just refreshing the web UI). Feeling stupid now m) Thank you!
Title: Re: OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
Post by: fabian on February 13, 2019, 05:26:56 PM
You will find this UI style in all my plugins. A longer time ago, I wrote reconfigure or something like this into the button but then some views did not look well anymore because the last column was too small (for example stacked buttons) so I removed the text and it looks like it it is looking now since.