diff options
Diffstat (limited to 'templates/vhosts/php_mediawiki/CentOS.erb')
-rw-r--r-- | templates/vhosts/php_mediawiki/CentOS.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/vhosts/php_mediawiki/CentOS.erb b/templates/vhosts/php_mediawiki/CentOS.erb index ce43055..9d2b9a2 100644 --- a/templates/vhosts/php_mediawiki/CentOS.erb +++ b/templates/vhosts/php_mediawiki/CentOS.erb @@ -1,4 +1,5 @@ # <%= servername %> +<%- unless ssl_mode.to_s == 'only' then -%> <VirtualHost *:80> Include conf.d/defaults.inc @@ -61,6 +62,7 @@ <%= additional_options %> <%- end -%> </VirtualHost> +<%- end -%> <%- unless ssl_mode.to_s == 'false' then -%> <VirtualHost *:443> |