Discover Centmin Mod today
Register Now

Add many Nginx vhost domain

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

  1. adamus007p

    adamus007p New Member

    21
    1
    3
    Feb 8, 2019
    Ratings:
    +1
    Local Time:
    7:28 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

    39,758
    8,769
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,494
    Local Time:
    3:28 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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.
     
..