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) |
||
| 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 /> | ||
Revision as of 03:19, 22 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]