Join the community today
Register Now

Nginx Disable Dynamic Modules Completely

Discussion in 'Centmin Mod Insights' started by BamaStangGuy, Jan 24, 2018.

  1. BamaStangGuy

    BamaStangGuy Active Member

    526
    160
    43
    May 25, 2014
    Ratings:
    +212
    Local Time:
    6:32 AM
    Is there a way to disable --compat from being compiled? I do not use Dynamic Modules and would like to have nginx compiled without them.
     
  2. eva2000

    eva2000 Administrator Staff Member

    35,513
    7,833
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,072
    Local Time:
    9:32 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Why though? nginx performs better and more efficiently with dynamic modules as opposed to nginx's traditional static modules. Right now no way to remove --compat flag. But you can just disable each dynamic nginx module to go back to static nginx module compiles via persistent config file set variables outlined in FAQ item 39
     
  3. BamaStangGuy

    BamaStangGuy Active Member

    526
    160
    43
    May 25, 2014
    Ratings:
    +212
    Local Time:
    6:32 AM
    Everything that I have read up until now has always recommended static over dynamic for performance. I am trying to catch up so if you did some testing on static vs dynamic or if there is something else I can read, more than happy to if you could point me in the right direction.
     
  4. eva2000

    eva2000 Administrator Staff Member

    35,513
    7,833
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,072
    Local Time:
    9:32 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Haven't done so much testing just memory usage for nginx is better with dynamic modules at least.
     
..