Learn about Centmin Mod LEMP Stack today
Become a Member

Redirections: Server, Cloudflare or htaccess?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Mrbo, Sep 21, 2018.

  1. Mrbo

    Mrbo Member

    58
    3
    8
    Jun 17, 2018
    Ratings:
    +3
    Local Time:
    1:43 PM
    Hi! I just update one of my sites to https/2 + letsencrypt + cloudflare. If I want to make redirects to https and www. Where is the best place to make the changes?
     
  2. eva2000

    eva2000 Administrator Staff Member

    36,333
    7,979
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,287
    Local Time:
    4:43 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    redirect done at Cloudflare level is best
     
    • Like Like x 1
  3. Mrbo

    Mrbo Member

    58
    3
    8
    Jun 17, 2018
    Ratings:
    +3
    Local Time:
    1:43 PM
  4. eva2000

    eva2000 Administrator Staff Member

    36,333
    7,979
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,287
    Local Time:
    4:43 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    nope no need for step 7
     
..