OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
« previous next »
  • Print
Pages: [1]

Author Topic: OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling  (Read 3280 times)

wschlich

  • Newbie
  • *
  • Posts: 13
  • Karma: 2
    • View Profile
OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
« 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
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
« Reply #1 on: February 13, 2019, 08:40:48 am »
Did you push the small circle button beneath the plus?
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

wschlich

  • Newbie
  • *
  • Posts: 13
  • Karma: 2
    • View Profile
Re: OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
« Reply #2 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 :(
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
« Reply #3 on: February 13, 2019, 12:42:40 pm »
Yes it is, just try it
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

wschlich

  • Newbie
  • *
  • Posts: 13
  • Karma: 2
    • View Profile
Re: OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
« Reply #4 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!
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
« Reply #5 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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • OPNsense 19.1: nginx.conf is only rewritten/updated upon disabling+re-enabling
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2