X-Git-Url: https://git.rapsys.eu/acme/blobdiff_plain/2143e273c43cb7ef1b311f725f3f80f3fa67728b..d86f129bc005638214a307ed7247f471a8b8db59:/www/example.com.conf diff --git a/www/example.com.conf b/www/example.com.conf new file mode 100644 index 0000000..ce8747b --- /dev/null +++ b/www/example.com.conf @@ -0,0 +1,20 @@ +# Virtual host configuration + + # Set server name + ServerName example.com + + # If rewrite module is available (or ) + + # Start rewrite engine + RewriteEngine on + + # Inherit acme.conf rules + RewriteOptions InheritBefore + + # Force redirection on https version + ## Only if https is disabled + ##RewriteCond %{HTTPS} off + ## Rewrite acme uri on php script + ##RewriteRule (/.*) https://%{SERVER_NAME}$1 [R=301,L] + +