~/other$ 0;
~/reverse.*/default 0;
~/lookup.*/default 0;
+ ~/status.*/default 0;
}
map $query_string $email_id {
index search.html;
}
+ location /qa-data/ {
+ add_header Access-Control-Allow-Origin "*";
+ }
+
location @php {
if ($blocked_user_agent ~ ^2$)
{ return 403; }
include <%= @confdir %>/nginx_blocked_generic.conf;
limit_req zone=www burst=10;
- limit_req zone=tarpit burst=2;
+ limit_req zone=tarpit burst=5;
limit_req zone=reverse burst=5;
limit_req_status 429;
fastcgi_pass nominatim_service;