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-2.17.0 lib/hako/templates/nginx.location.conf.erb
hako-2.16.0 lib/hako/templates/nginx.location.conf.erb
hako-2.15.1 lib/hako/templates/nginx.location.conf.erb
hako-2.15.0 lib/hako/templates/nginx.location.conf.erb
hako-2.14.0 lib/hako/templates/nginx.location.conf.erb
hako-2.13.0 lib/hako/templates/nginx.location.conf.erb
hako-2.12.0 lib/hako/templates/nginx.location.conf.erb
hako-2.11.1 lib/hako/templates/nginx.location.conf.erb
hako-2.11.0 lib/hako/templates/nginx.location.conf.erb
hako-2.10.0 lib/hako/templates/nginx.location.conf.erb
hako-2.9.2 lib/hako/templates/nginx.location.conf.erb
hako-2.9.1 lib/hako/templates/nginx.location.conf.erb
hako-2.9.0 lib/hako/templates/nginx.location.conf.erb
hako-2.8.0 lib/hako/templates/nginx.location.conf.erb
hako-2.7.0 lib/hako/templates/nginx.location.conf.erb
hako-2.6.2 lib/hako/templates/nginx.location.conf.erb
hako-2.6.1 lib/hako/templates/nginx.location.conf.erb
hako-2.6.0 lib/hako/templates/nginx.location.conf.erb
hako-2.5.1 lib/hako/templates/nginx.location.conf.erb
hako-2.5.0 lib/hako/templates/nginx.location.conf.erb