Discover Centmin Mod today
Register Now

Hi all

Discussion in 'Introductions' started by ezak, Sep 10, 2019.

  1. ezak

    ezak New Member

    2
    0
    1
    May 26, 2018
    Ratings:
    +0
    Local Time:
    3:34 PM
    1.13.12
    5.5
    Hi all,
    I have been used centmin from 2 years ago
    and I found it very perfect mod and performance is very well

    but I have some troubles , maybe I didn't know how to config
    I used it always for 1 domain per server (about 3 servers)

    but I want to use it for multi-domain on the same server
    but I found that centmin create vhost without creating new user, and its give all permission to nginx:nginx

    this is a security problem, because if I have 2 domain
    1- test1.com
    2- test2.com

    the test2.com, can access and open any files from test1.com (via php shell)

    how can avoid this, buy create the vhost and its create a new user on the system and its give the permission to this user instead of Nginx permission

    hope I can describe my problem clear
     
  2. eva2000

    eva2000 Administrator Staff Member

    42,086
    9,499
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,618
    Local Time:
    11:34 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    welcome @ezak to Centmin Mod Community. Yes Centmin Mod isn't for shared hosting so does not support jailed/chroot'd user account/domains. See FAQ item 2 at FAQ - CentminMod.com LEMP Nginx web stack for CentOS. As such all domains are run and owned by nginx user/group. If you need to isolate each domain, then yes 1 domain per VPS/server is best way as you already been doing this previously.

    There's 6 steps to learning more about Centmin Mod ;) And to modifying config files and manage services more quickly, check out Centmin Mod Command Shortcuts.

    Might also be interested in reading up on latest LEMP stack comparison benchmarks tagged here.

    You might want to try the 123.09beta01 build as it will be next stable release and well has alot of improvements if you check 2nd post change log at Beta Branch - Centmin Mod .09 beta branch Testing. And you can share your initial install times here.

    Threads you might want to participate in ;)

    Quick Tips


    Threads & Info To Bookmark



    Threads to read, pages to bookmark and threads to watch/subscribe to get to know Centmin Mod would include:

    Centmin Mod Insights Forum



    The Centmin Mod Insights forums digs deeper into the inner workings of Centmin Mod so some useful threads in this forum include:

    Security Related Developments



    A few security related developments you might be interested reading about

    Premium Membership


    Centmin Mod Donations



    You now can show your love and support for Centmin Mod via
     
    • Like Like x 1