This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Secure Sentora Domains with Let's Encrypt
#17
RE: Secure Sentora Domains with Let's Encrypt
(06-24-2016, 06:06 PM)james_d Wrote: Hi Me.B i followed your code advice regarding the Cloudflare and I was able to get the ssl work. 

But when customer go's to the website it doesn't go to the secure https, is there a way how i can enable this?

Use .htaccess in the domain's root folder:
Code:
RewriteEngine On

# Force SSL - Always first!
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: james_d


Messages In This Thread
RE: Secure Sentora Domains with Let's Encrypt - by TGates - 06-25-2016, 02:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Secure Sentora With SSLForFree Chris L 1 5 ,324 01-22-2020, 09:19 PM
Last Post: ralphharder
Fail2ban for Sentora (Centos 7) bbspike 14 48 ,694 01-14-2020, 07:32 AM
Last Post: Vedran B
Timeout for Sentora Admin Panel minufreelance 12 48 ,857 11-24-2018, 12:33 PM
Last Post: fearworks

Forum Jump:


Users browsing this thread: 4 Guest(s)