Welcome to Centmin Mod Community
Register Now

Beta Branch update tools/autoprotect.sh bypass for xenforo files in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 25, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    12:37 AM
    Nginx 1.13.x
    MariaDB 5.5
    update tools/autoprotect.sh bypass for xenforo files in 123.09beta01

    bypass xenforo detected .htaccess directories out of the box as you will get errors complaining of duplicate locations if you allow tools/autoprotect.sh to protect xenforo htaccess directories + setup manually xenforo rules as outlined at Nginx Rewrites for Xenforo Friendly Urls - CentminMod.com LEMP Nginx web stack for CentOS

    example include /usr/local/nginx/conf/autoprotect/newdomain.com/autoprotect-newdomain.com.conf file contents

    Code (Text):
    # Xenforo bypass /home/nginx/domains/newdomain.com/public/install/data
    
    # Xenforo bypass /home/nginx/domains/newdomain.com/public/install/templates
    
    # Xenforo bypass /home/nginx/domains/newdomain.com/public/internal_data
    
    # location /internal_data/ {
    #   internal;
    #   allow 127.0.0.1;
    #   deny all;
    # }
    
    # Xenforo bypass /home/nginx/domains/newdomain.com/public/library
    
    # location /library/ {
    #   internal;
    #   allow 127.0.0.1;
    #   deny all;
    # }
    


    Continue reading...

    123.09beta01 branch
     
    • Like Like x 1
    • Agree Agree x 1