Join the community today
Register Now

Newish to Centminmod

Discussion in 'Introductions' started by frm, Dec 17, 2018.

  1. frm

    frm Member

    34
    4
    8
    Dec 17, 2018
    Ratings:
    +6
    Local Time:
    7:08 PM
    1.15.7
    10.3.11
    I've been playing around with different installs of CMM for about a month or so now before deciding to go back to a LAMP stack in the end for a final production Xenfor2 server.

    I just couldn't wrap my head around the nginx vhost configuration to: 1) redirect http/https requests to the dedicated IP to the dedicated domain name; 2) redirect http www/non-www domain to https www; and 3) redirect https to https www (hardest). The conf file is pretty dirty, and I'd like someone to look over that later, but, there's a rant I need to get off my chest that might help someone else how here, but it required an introduction.


    (Please add remote MySQL support for DBaaS and failovers)
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    8:08 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    welcome @frm to Centmin Mod Community. Now that you've introduced yourself, you can post questions in relevant forums ;) For Nginx HTTPS/SSL setups you can ask in Domains, DNS, Email & SSL Certificates

    There's 6 steps to learning more about Centmin Mod ;)

    Centmin Mod LEMP stack support remote MySQL servers etc and failover just like any other MariaDB MySQL server - just you need to configure and set them up yourself :)

    Might also be interested in reading up on latest LEMP stack comparison benchmarks tagged here.

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

    Quick Tips


    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:

    Security Related Developments



    A few security related developments you might be interested reading about

    Premium Membership


    Centmin Mod Donations



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

    frm Member

    34
    4
    8
    Dec 17, 2018
    Ratings:
    +6
    Local Time:
    7:08 PM
    1.15.7
    10.3.11
    I couldn't find a tutorial on it and, the ones that I did use, said to use firewalld for opening ports. I think they temporarily opened them, even with the --permanent arg, but it would always close down within seconds.

    I think there should be a .inc option to include in a fresh install with the next version.

    Figured it out for future newbies like myself for now and posted in:
    Allow MySQL Remote Connections

    It might not be the best way, or correct way (as I am new to management), but it works.
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    8:08 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    That is the correct way to do it.. I replied with even finer grain control over which server IPs to which ports can be whitelisted too - easier than firewalld :D