Get the most out of your Centmin Mod LEMP stack
Become a Member

Domains Whitelist .htaccess file when using option 2). Add Nginx vhost domain

Discussion in 'Install & Upgrades or Pre-Install Questions' started by EckyBrazzz, Apr 21, 2019.

  1. EckyBrazzz

    EckyBrazzz Active Member

    234
    40
    28
    Mar 28, 2018
    Brazil
    Ratings:
    +79
    Local Time:
    1:29 AM
    1.15.x
    10.3.x
    Hi,

    I just set up a site that uses .htaccess files and wanted to know if I need to whitelist some .htaccess file when setting these sites up when using the
    Code (Text):
    2).  Add Nginx vhost domain
    option in centmin mod or is this only when using the option for WordPress based sites?
     
  2. EckyBrazzz

    EckyBrazzz Active Member

    234
    40
    28
    Mar 28, 2018
    Brazil
    Ratings:
    +79
    Local Time:
    1:29 AM
    1.15.x
    10.3.x
    Just figerd out. It is
    Code (Text):
    #  include /usr/local/nginx/conf/autoprotect/domain.com/autoprotect-domain.com.conf;


    Afterward gona activate it again and find out what to whitelist
     
  3. eva2000

    eva2000 Administrator Staff Member

    39,767
    8,773
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,504
    Local Time:
    2:29 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yeah autoprotect is for all nginx vhosts not just wordpress :) So yes that is a good way of figuring out if you have .htaccess without visitor side issues by commenting out the include but letting it populate and report which directories in any have .htaccess files you need to take a closer look at :)
     
    • Agree Agree x 1
  4. EckyBrazzz

    EckyBrazzz Active Member

    234
    40
    28
    Mar 28, 2018
    Brazil
    Ratings:
    +79
    Local Time:
    1:29 AM
    1.15.x
    10.3.x
    Again a great PLUS to use centmin mod.
     
    • Like Like x 1
..