Sha256: 09f672dd4a774948a8ff2c4ce11870c4151b78275ba14e21310c0ed2f4a699fc

Contents?: true

Size: 493 Bytes

Versions: 11

Compression:

Stored size: 493 Bytes

Contents

<% if @proxy_dest or @proxy_pass -%>

  ## Proxy rules
  ProxyRequests Off
<%- end -%>
<% [@proxy_pass].flatten.compact.each do |proxy| %>
  ProxyPass <%= proxy['path'] %> <%= proxy['url'] %>
  <Location <%= proxy['path']%>>
    ProxyPassReverse /
  </Location>
<% end %>
<% if @proxy_dest -%>
<% Array(@no_proxy_uris).each do |uri| %>
  ProxyPass        <%= uri %> !
<% end %>
  ProxyPass          / <%= @proxy_dest %>/
  <Location          />
    ProxyPassReverse /
  </Location>
<% end -%>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/apache/templates/vhost/_proxy.erb
freighthop-0.6.0 modules/apache/templates/vhost/_proxy.erb
freighthop-0.5.2 modules/apache/templates/vhost/_proxy.erb
freighthop-0.5.1 modules/apache/templates/vhost/_proxy.erb
freighthop-0.5.0 modules/apache/templates/vhost/_proxy.erb
freighthop-0.4.1 modules/apache/templates/vhost/_proxy.erb
freighthop-0.4.0 modules/apache/templates/vhost/_proxy.erb
freighthop-0.3.3 modules/apache/templates/vhost/_proxy.erb
freighthop-0.3.2 modules/apache/templates/vhost/_proxy.erb
freighthop-0.3.1 modules/apache/templates/vhost/_proxy.erb
freighthop-0.3.0 modules/apache/templates/vhost/_proxy.erb