diff options
Diffstat (limited to 'roles/icinga2/files/000-default.conf')
-rw-r--r-- | roles/icinga2/files/000-default.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/icinga2/files/000-default.conf b/roles/icinga2/files/000-default.conf new file mode 100644 index 0000000..922eb96 --- /dev/null +++ b/roles/icinga2/files/000-default.conf @@ -0,0 +1,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 |