Index: modules/nginx/templates/nginx.conf.erb |
diff --git a/modules/nginx/templates/nginx.conf.erb b/modules/nginx/templates/nginx.conf.erb |
index ff0b0d5147092ec16350475320b280b6bf97460c..8f676785510fc23441e983d34d8ce343097f4f1f 100644 |
--- a/modules/nginx/templates/nginx.conf.erb |
+++ b/modules/nginx/templates/nginx.conf.erb |
@@ -52,6 +52,13 @@ http { |
server_names_hash_bucket_size 64; |
+ <% if @geoip_country %> |
+ geoip_country <%= @geoip_country %>; |
+ <% end %> |
+ <% if @geoip_city %> |
+ geoip_city <%= @geoip_city %>; |
+ <% end %> |
+ |
include /etc/nginx/conf.d/*.conf; |
include /etc/nginx/sites-enabled/*; |
} |