1 # Virtual host configuration
 
   6         # If rewrite module is available (or <IfModule mod_rewrite.c>)
 
   7         <IfModule rewrite_module>
 
  11                 # Inherit acme.conf rules
 
  12                 RewriteOptions InheritBefore
 
  14                 # Force redirection on https version
 
  15                 ## Only if https is disabled
 
  16                 ##RewriteCond %{HTTPS} off
 
  17                 ## Rewrite acme uri on php script
 
  18                 ##RewriteRule (/.*) https://%{SERVER_NAME}$1 [R=301,L]