OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Nginx stills runs after disabling?
« previous next »
  • Print
Pages: [1]

Author Topic: Nginx stills runs after disabling?  (Read 2538 times)

jkemp

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 2
    • View Profile
Nginx stills runs after disabling?
« on: January 01, 2019, 10:26:11 pm »
Hello,

I disabled the nginx service and notice it is still listed as running in the dashboard. Should it do that? Do I have to kill the service from the command line? Once the plugin is installed and enabled does the OPNsense core system use it for something?
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Nginx stills runs after disabling?
« Reply #1 on: February 24, 2019, 09:36:52 am »
Quote from: jkemp on January 01, 2019, 10:26:11 pm
I disabled the nginx service and notice it is still listed as running in the dashboard. Should it do that?

It is designed to run always because the disable flag in nginx is designed to just disable your servers not the entire service.
The reason is that I originally planned the nginx plugin to handle the web interface to the standard ports would be shared and no conflict would happen. I still have not adjusted core to allow this but with 1.8 of the plugin, it will allow plugins which can still serve content while your servers are disabled. This constraint was not implemented in tempting until version 1.8.In worst case it runs but it has no port open.

Quote from: jkemp on January 01, 2019, 10:26:11 pm
Do I have to kill the service from the command line?

You could stop it from the dashboard but CLI works as well:
Code: [Select]
configctl nginx stop


Quote from: jkemp on January 01, 2019, 10:26:11 pm
Once the plugin is installed and enabled does the OPNsense core system use it for something?

Core currently not (otherwise it would not be a plugin with one exception: you enabled the code on the command line to run the web interface over nginx, which is possible but Serial/SSH only).
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Nginx stills runs after disabling?
 

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