Difference between revisions of "WHM/SSL"
From SETV Springfield Technical Wiki
(Created page with "SHH to vps server Run: /scripts/install_lets_encrypt_autossl_provider In WHM Find AutoSSL and Select Lets Encrypt as a provider. <ref>https://blog.cpanel.com/announcing-cpane...") (Tag: Visual edit) |
m (Tag: Visual edit) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 7: | Line 7: | ||
RewriteCond %{SERVER_PORT} 80 | RewriteCond %{SERVER_PORT} 80 | ||
RewriteRule ^(.*)$ <nowiki>https://www.example.com/$1</nowiki> [R,L] | RewriteRule ^(.*)$ <nowiki>https://www.example.com/$1</nowiki> [R,L] | ||
| + | |||
| + | <references /> | ||
| + | [[Category:SETV Guides]] | ||
Latest revision as of 16:30, 23 September 2016
SHH to vps server Run:
/scripts/install_lets_encrypt_autossl_provider
In WHM Find AutoSSL and Select Lets Encrypt as a provider. [1]
Add to site's .htaccess
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]