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
Domain
Whitelist IP in NGINX for domain
Add the above lines in any of the
http
, server or
location
/ blocks as shown below
http{
...
allow 45.43.23.21;
deny all;
...
}
server{
...
allow 45.43.23.21;
deny all;
...
}
location / {
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
Nginx
Next
Subdomain
Last modified
10mo ago
Copy link
Outline
Whitelist IP in NGINX for domain
Restart NGINX