Issue
- You need to enable an IP or set of IP addresses to access your Liferay Cloud instance.
Environment
- Liferay SaaS
Resolution
- Configure the NGINX webserver through editing the configuration files in
/webserver/configs/common/conf.d/. Note: You can edit either the defaultliferay.conffile or create additional.conffiles.
allow a.b.c.d;
allow e.f.g.h/i;
...
deny all;
Where a.b.c.d and e.f.g.h/i are IP addresses and ranges you whitelist. You can define multiple addresses and ranges in this way.
- The default
nginx.confhas the lineinclude /etc/nginx/conf.d/*.conf;which includes the other.conffiles found in the conf.d directory. - The syntax follows the NGINX syntax. Refer to NGINX configuration guidelines