Domain
This guide will show you how to whitelist your GoodAccess IP address in NGINX for a domain.
Last updated
Was this helpful?
This guide will show you how to whitelist your GoodAccess IP address in NGINX for a 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;
}Run the following command to check the syntax of your updated config file.
If there are no errors, run the following command to restart the NGINX server.
Last updated
Was this helpful?
Was this helpful?
sudo nginx -tsudo systemctl restart nginx