Author Topic: ssl expire  (Read 353 times)

0 Members and 1 Guest are viewing this topic.

Re: ssl expire
« Reply #15 on: October 10, 2018, 11:25:00 PM »

But you can add this to each domain in vhost file.

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteCond %{HTTPS} off
   RewriteRule ^(.*)$$1 [R=301,L]

Is it possible and how to add this to the vhost template instead of each domain?