Sha256: 1689ed02fdf17586ad44d98e8c24a90b888f87ab27594e5064c032e867951238

Contents?: true

Size: 384 Bytes

Versions: 2

Compression:

Stored size: 384 Bytes

Contents

upstream <%= @name %>_http {
<% if @options[:load_balancing] == :ip_hash -%>
  ip_hash;
<% end -%>
<% for worker in @workers -%>
  server <%= worker %>;
<% end -%>
}

server {
  listen 123.123.123.135:80;
  server_name <%= @name %>.my.server.pl;
  location / {
    proxy_pass http://<%= @name %>_http;
<% for property in @location_properties -%>
    <%= property %>;
<% end -%>
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redirus-0.3.1 spec/resources/http.erb.conf
redirus-0.2.1 spec/resources/http.erb.conf