Learn about Centmin Mod LEMP Stack today
Become a Member

Hello- my name pc

Discussion in 'Introductions' started by vinaweb, Jun 9, 2017.

  1. vinaweb

    vinaweb New Member

    2
    1
    1
    Jun 6, 2017
    Ratings:
    +1
    Local Time:
    5:56 AM
    Hello everyone.

    I trying using centminmod with my CMS nginx code:

    # nginx configuration
    charset utf-8;
    error_page 404 /index.php;
    location /CMS/ {
    if (!-e $request_filename){
    rewrite ^/CMS/site-([a-zA-Z0-9]*)$ /CMS/index.php/?__cms_subsite=$1 break;
    }
    if (!-e $request_filename){
    rewrite ^/CMS/(.*)$ /CMS/index.php/$1 break;
    }
    if ($http_host ~* "^www\.(.+)$"){
    rewrite ^/CMS/(.*)$ http://%1$request_uri redirect;
    }
    if ($script_filename ~ "-d"){
    return 403;
    }
    if ($script_filename ~ "-f"){
    return 403;
    }
    }
    location /CMS/site {
    rewrite ^/CMS/site-([a-zA-Z0-9]*)/(.*)$ /CMS/index.php/$2?__cms_subsite=$1 break;
    }



    Hope everyone help me to cover to centminmod syntax. Multisite

    Thanks!
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    30,947
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    8:56 AM
    Nginx 1.13.x
    MariaDB 5.5
    welcome @vinaweb to Centmin Mod Community. There's 5 steps to learning more about Centmin Mod ;)

    See you posted at https://community.centminmod.com/threads/centminmod-nginx-cms-codeigniter-multisite.11937/ :)

    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 ;)

    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:

    Premium Membership


    Centmin Mod Donations



    You now can show your love and support for Centmin Mod via