apache: Added support for proxy http sites.
This commit is contained in:
parent
f9e719d33e
commit
945a9f2af3
4 changed files with 61 additions and 28 deletions
10
apache/templates/proxy.http.conf.erb
Normal file
10
apache/templates/proxy.http.conf.erb
Normal file
|
@ -0,0 +1,10 @@
|
|||
<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>
|
Loading…
Add table
Add a link
Reference in a new issue