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.13.3 lib/hako/templates/nginx.location.conf.erb
hako-0.13.2 lib/hako/templates/nginx.location.conf.erb
hako-0.13.1 lib/hako/templates/nginx.location.conf.erb
hako-0.13.0 lib/hako/templates/nginx.location.conf.erb
hako-0.12.0 lib/hako/templates/nginx.location.conf.erb
hako-0.11.2 lib/hako/templates/nginx.location.conf.erb
hako-0.11.1 lib/hako/templates/nginx.location.conf.erb
hako-0.11.0 lib/hako/templates/nginx.location.conf.erb
hako-0.10.0 lib/hako/templates/nginx.location.conf.erb
hako-0.9.4 lib/hako/templates/nginx.location.conf.erb
hako-0.9.3 lib/hako/templates/nginx.location.conf.erb
hako-0.9.2 lib/hako/templates/nginx.location.conf.erb
hako-0.9.1 lib/hako/templates/nginx.location.conf.erb
hako-0.9.0 lib/hako/templates/nginx.location.conf.erb
hako-0.8.5 lib/hako/templates/nginx.location.conf.erb
hako-0.8.4 lib/hako/templates/nginx.location.conf.erb
hako-0.8.3 lib/hako/templates/nginx.location.conf.erb
hako-0.8.2 lib/hako/templates/nginx.location.conf.erb
hako-0.8.1 lib/hako/templates/nginx.location.conf.erb
hako-0.8.0 lib/hako/templates/nginx.location.conf.erb