aboutsummaryrefslogtreecommitdiff
path: root/roles/apache/files/000-default.conf
blob: 922eb96f8a7f2bb2e8bae3280e658405ed2f8055 (plain)
1
2
3
4
5
6
7
8
9
<VirtualHost *:80>
	ServerAdmin webmaster@localhost
	
	RewriteEngine On
	RewriteCond %{HTTPS}  !=on
	RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] 
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet