Discover Centmin Mod today
Register Now

Nginx custom.inc for nginx only

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Oxide, Sep 5, 2016.

  1. Oxide

    Oxide Active Member

    504
    29
    28
    Mar 19, 2015
    Ratings:
    +54
    Local Time:
    9:07 PM
    Hello,

    i will only be using nginx as a reverse proxy, with real ip module etc.. how can i do this via custom.inc or whatever the file is called?

    Could anyone help me out making one, that are disabling all uneeded services.
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,196
    6,789
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,145
    Local Time:
    9:07 PM
    Nginx 1.13.x
    MariaDB 5.5
    FAQ 25 & 36 is closest to getting minimal nginx install and just disabling services not used (FAQ item 36 part about disabling services).
     
    • Informative Informative x 1
  3. Oxide

    Oxide Active Member

    504
    29
    28
    Mar 19, 2015
    Ratings:
    +54
    Local Time:
    9:07 PM
    that shows nginx only, but how would i disable all others.. mysql, etc.. any on that?
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,196
    6,789
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,145
    Local Time:
    9:07 PM
    Nginx 1.13.x
    MariaDB 5.5
    just standard service stop and disable