apache: Combined proxy.http.conf.erb to site.http.conf.erb.
This commit is contained in:
parent
165ec9cbe4
commit
6cebef3715
4 changed files with 38 additions and 47 deletions
|
@ -1,10 +0,0 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName <%= @site_fqdn %>
|
||||
<% if @aliases != "" -%>
|
||||
ServerAlias <%= @aliases %>
|
||||
<% end -%>
|
||||
ErrorLog /srv/www/log/http/<%= @site_fqdn %>/error_log
|
||||
CustomLog /srv/www/log/http/<%= @site_fqdn %>/access_log combined
|
||||
ProxyPass / <%= @proxy %>/
|
||||
ProxyPassReverse / <%= @proxy %>/
|
||||
</VirtualHost>
|
|
@ -5,6 +5,11 @@
|
|||
<% end -%>
|
||||
ErrorLog /srv/www/log/http/<%= @site_fqdn %>/error_log
|
||||
CustomLog /srv/www/log/http/<%= @site_fqdn %>/access_log combined
|
||||
<% if @proxy != "" -%>
|
||||
ProxyPass / <%= @proxy %>/
|
||||
ProxyPassReverse / <%= @proxy %>/
|
||||
<% else -%>
|
||||
DocumentRoot /srv/www/http/<%= @site_fqdn %>
|
||||
Include <%= @site_confdir %>/*.conf
|
||||
<% end -%>
|
||||
</VirtualHost>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue