Or should it be more like this?
geo $limited_net {
default 0;
111.222.333.444 1;
}
map $limited_net $addr_to_limit {
0 "";
1 $binary_remote_addr;
}
limit_req_zone $addr_to_limit zone=two:10m rate=15r/m;
limit_req_zone $binary_remote_addr; zone=three:10m rate=25r/m;
Posted at
In our Nginx config we currently have this:-
limit_req_zone $binary_remote_addr zone=two:10m rate=15r/m;
limit_req zone=two burst=5 nodelay;
Now we want to change this so that this rate limit applies to certain IP
addresses, and then have another rate limit that applies to others that is
slightly
We're trying to point example.com at a site hosted at github...
So we need example.com to point to the site hosted at example.github.io
So a user visits example.com they get the page hosted at example.github.com,
but with example.com still in the address bar.
HTH
Stuart
Posted at Nginx Forum:
Hi
I have the virtualhost file configured as the following:-
server {
server_name example.com;
location / {
proxy_pass http://example.org;
}
}
When I visit example.com it redirects correctly to example.org, but I need
it to show example.com in the address bar. How can I do this?
i tried chan