Jump to content
You're invited! Join our 4.6 Live Event on ZOOM 6/24 ×


SSL with cloudflare


Recommended Posts


I have my own ssl certificate installed on my nginx server with these nginx rules:

	ssl on;
    ssl_certificate /etc/letsencrypt/live/exemple.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/exemple.com/privkey.pem;
    ssl_session_timeout 5m;
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    ssl_session_cache shared:SSL:50m;
    ssl_dhparam /etc/letsencrypt/live/exemple.com/dhparam.pem;
    ssl_prefer_server_ciphers on;

I am now using cloudflare and it has its own ssl even with the free plan, so when I load my website it shows cloudflare certificate and not mine.

Now my question is can I or should I remove any of those line in my nginx config? Seems to be overkill to have 2 certificate loading.

@ASTRAPI tagging you cause you know cloudflare. But anyone is welcome to give their 2 cents.

Thank you

Link to comment
Share on other sites


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy