Revision 4c18f820
Added by Ivan Necas over 10 years ago
modules/apache/templates/vhost/_proxy.erb | ||
---|---|---|
<% [@proxy_pass].flatten.compact.each do |proxy| %>
|
||
ProxyPass <%= proxy['path'] %> <%= proxy['url'] %>
|
||
<Location <%= proxy['path']%>>
|
||
ProxyPassReverse /
|
||
ProxyPassReverse <%= proxy['url'] %>
|
||
</Location>
|
||
<% end %>
|
||
<% if @proxy_dest -%>
|
||
... | ... | |
<% end %>
|
||
ProxyPass / <%= @proxy_dest %>/
|
||
<Location />
|
||
ProxyPassReverse /
|
||
ProxyPassReverse <%= @proxy_dest %>/
|
||
</Location>
|
||
<% end -%>
|
Also available in: Unified diff
Update to librarian