Learn about Centmin Mod LEMP Stack today
Become a Member

Add many Nginx vhost domain

Discussion in 'Install & Upgrades or Pre-Install Questions' started by adamus007p, May 6, 2019.

  1. adamus007p

    adamus007p Member

    378
    19
    18
    Feb 8, 2019
    Ratings:
    +38
    Local Time:
    6:52 PM
    Hello @eva2000


    Is there any method or script to add many Nginx vhost domain or only one my one?
    or add
    22). Add Wordpress Nginx vhost + Cache Plugin
    via command line or some script. I mean add set up config for 20domains and just run, not do it manually one by one.

    Thank you in advance for the response.
     
    Last edited: May 6, 2019
  2. eva2000

    eva2000 Administrator Staff Member

    59,287
    12,509
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,141
    Local Time:
    2:52 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    See Centmin Mod Insights forum sticky for mass creating nginx vhosts and mysql databases https://community.centminmod.com/th...g-nginx-vhost-mysql-users-and-databases.8257/ this is for non-wordpress ones. It's mentioned and linked to in your welcome thread's reply post and at https://community.centminmod.com/th...-nginx-vhost-site-mysql-database-setup.13602/ :)

    For wordpress specific sites though, right now only centmin.sh menu option 22 is available for one by one install as there's many interactive questions to setup wordpress right now. There are plans to script this on command line eventually though - just not right now.
     
  3. jcat

    jcat Member

    154
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +65
    Local Time:
    12:52 PM
    Is there a timeline for this by chance :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    59,287
    12,509
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,141
    Local Time:
    2:52 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+