apache: Add support for port based SSL virtual hosts
This commit is contained in:
parent
379ca62a5f
commit
53a0422843
4 changed files with 22 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
<VirtualHost <%= @ipaddr %>:443>
|
||||
<VirtualHost <%= @ipaddr %>:<%= @port %>>
|
||||
|
||||
# General setup for the virtual host, inherited from global configuration
|
||||
ServerName <%= @site_fqdn %>:443
|
||||
ServerName <%= @site_fqdn %>
|
||||
|
||||
# Use separate log files for the SSL virtual host; note that LogLevel
|
||||
# is not inherited from httpd.conf.
|
||||
|
@ -156,11 +156,11 @@ BrowserMatch "MSIE [2-5]" \
|
|||
<% end -%>
|
||||
|
||||
<% if @proxy != "" -%>
|
||||
ProxyPass / <%= @proxy %>/
|
||||
ProxyPassReverse / <%= @proxy %>/
|
||||
ProxyPass / <%= @proxy %>/
|
||||
ProxyPassReverse / <%= @proxy %>/
|
||||
<% else -%>
|
||||
DocumentRoot /srv/www/https/<%= @site_fqdn %>
|
||||
Include <%= @site_confdir %>/*.conf
|
||||
DocumentRoot /srv/www/https/<%= @site_fqdn %>
|
||||
Include <%= @site_confdir %>/*.conf
|
||||
<% end -%>
|
||||
|
||||
</VirtualHost>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue