Sha256: 0896bcca2626dfbd9fa90096d6441b11f8278390d8a25da4532445cdc470e6d2

Contents?: true

Size: 393 Bytes

Versions: 114

Compression:

Stored size: 393 Bytes

Contents

<%- if location.allow_only_from -%>
  <%- location.allow_only_from.each do |ip| -%>
allow <%= ip %>;
  <%- end -%>
deny all;
<%- end -%>

proxy_pass http://<%= listen_spec %>;
proxy_set_header Host $host;
proxy_set_header Connection ""; # for upstream keepalive
proxy_http_version 1.1;         # for upstream keepalive
proxy_connect_timeout 5s;
proxy_send_timeout 20s;
proxy_read_timeout 20s;

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
hako-0.7.4 lib/hako/templates/nginx.location.conf.erb
hako-0.7.3 lib/hako/templates/nginx.location.conf.erb
hako-0.7.2 lib/hako/templates/nginx.location.conf.erb
hako-0.7.1 lib/hako/templates/nginx.location.conf.erb
hako-0.7.0 lib/hako/templates/nginx.location.conf.erb
hako-0.6.1 lib/hako/templates/nginx.location.conf.erb
hako-0.6.0 lib/hako/templates/nginx.location.conf.erb
hako-0.5.1 lib/hako/templates/nginx.location.conf.erb
hako-0.5.0 lib/hako/templates/nginx.location.conf.erb
hako-0.4.0 lib/hako/templates/nginx.location.conf.erb
hako-0.3.1 lib/hako/templates/nginx.location.conf.erb
hako-0.3.0 lib/hako/templates/nginx.location.conf.erb
hako-0.2.1 lib/hako/templates/nginx.location.conf.erb
hako-0.2.0 lib/hako/templates/nginx.location.conf.erb