To limit access to a website / subfolder to certain IP addresses:
location / {
allow 10.0.X.0/24;
allow 10.123.123.123;
allow 10.0.Y.0/24;
deny all;
# proxy_pass http://$http_host$uri$is_args$args
}
To limit access to a website / subfolder to certain IP addresses:
location / {
allow 10.0.X.0/24;
allow 10.123.123.123;
allow 10.0.Y.0/24;
deny all;
# proxy_pass http://$http_host$uri$is_args$args
}
You must be logged in to post a comment.