Sha256: c3580dfe1d28e0cb41727c16f14421d2ab147868bb74b303d4d7e8118d4fc10d

Contents?: true

Size: 163 Bytes

Versions: 3

Compression:

Stored size: 163 Bytes

Contents

geo $<%= node['nginx']['remote_ip_var'] %> $authorized_ip {
  default no;
  <% node['nginx']['authorized_ips'].each do |ip| %>
  <%= "#{ip} yes;" %>
  <% end %>
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
from-scratch-0.7.0 cookbooks/nginx/templates/default/modules/authorized_ip.erb
from-scratch-0.6.0 cookbooks/nginx/templates/default/modules/authorized_ip.erb
from-scratch-0.5.0 cookbooks/nginx/templates/default/modules/authorized_ip.erb