GoodAccess
GoodAccess Website
Request Free Trial
Download App
Search…
Welcome to GoodAccess
Getting started
First steps
How to connect
Team management
Systems
Access Control
Admins & Roles
BackUp Gateway
Advanced networking
IP whitelisting
APACHE Web Server
AWS VPC
Azure (Office 365)
Google Cloud
Magento
Microsoft IIS
Nginx
Domain
Subdomain
URL
OpenCart
PHP
PHPMyAdmin
Pipedrive
PrestaShop
SalesForce
SSH server
WordPress
ZOHO CRM
Clouds & Branches
Split tunneling
RDP - Windows
Port forwarding
Security & Compliance
2FA
Secure Shield
DNS Management
SSO
FAQ
Gateways
Product
Payments & Billing
Troubleshooting
Technical issues
Payments & Billing
Login & Password
Powered By
GitBook
URL
Whitelist IP in NGINX for URL
If you want to whitelist IP for just one URL (e.g /accounts/login) then add the above
allow
directive in
location
block of that URL.
location /accounts/login {
allow 45.43.23.21;
deny all;
}
Restart NGINX
Run the following command to check syntax of your updated config file.
$ sudo nginx -t
If there are no errors, run the following command to restart NGINX server.
$ sudo service nginx reload #debian/ubuntu
$ systemctl restart nginx #redhat/centos
Previous
Subdomain
Next
OpenCart
Last modified
10mo ago
Copy link
Outline
Whitelist IP in NGINX for URL
Restart NGINX