]> Raphaƫl G. Git Repositories - acme/blob - www/example.com.conf
Fix bad spelling
[acme] / www / example.com.conf
1 # Virtual host configuration
2 <VirtualHost *:80>
3 # Set server name
4 ServerName example.com
5
6 # If rewrite module is available (or <IfModule mod_rewrite.c>)
7 <IfModule rewrite_module>
8 # Start rewrite engine
9 RewriteEngine on
10
11 # Inherit acme.conf rules
12 RewriteOptions InheritBefore
13
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]
19 </IfModule>
20 </VirtualHost>