I'm developing an application with facebook login. So far it's not public and is protected by http basic auth in nginx. Is it possible to disable http auth for facebook's ip range so that we can have our tester test the facebook capabilities as well? Please, include an example configuration snippet, if possible.
Nginx – How to disable http basic auth in nginx for a specific ip range
http-basic-authenticationip addressnginxweb-server
Related Topic
- Nginx – Using nginx: require authentication when request from public IP, not needed when local
- Nginx – Why Nginx reverse proxy shows http location
- Nginx – How to get nginx to properly proxy (incl. basic auth creds set in the headers) an Apache
- Nginx – how authenticated multiple subdomains in nginx with one login
Best Answer
Use satisfy directive to allow access. 32934 is facebook autonomous system, look facebook ip.