SV-278398r1171946_rule
V-278398
SRG-APP-000386
NGNX-APP-001630
CAT II
10
Determine the path to NGINX config file(s):
# nginx -qT | grep "# configuration"
# configuration file /etc/nginx/nginx.conf:
Note: The default NGINX configuration is "/etc/nginx/nginx.conf", though various files may also be included.
Set allow/deny according to organizational policy.
Restart NGINX after modifying the configuration.
# nginx -s reload
Determine the path to NGINX config file(s):
# nginx -qT | grep "# configuration"
# configuration file /etc/nginx/nginx.conf:
Note: The default NGINX configuration is "/etc/nginx/nginx.conf", though various files may also be included.
Verify allow/deny is set according to organizational policy:
location / {
allow 192.168.0.0;
allow 10.0.0.0/16;
deny all;
}
If allow or deny is not set to organizational policy, this is a finding.
V-278398
False
NGNX-APP-001630
Determine the path to NGINX config file(s):
# nginx -qT | grep "# configuration"
# configuration file /etc/nginx/nginx.conf:
Note: The default NGINX configuration is "/etc/nginx/nginx.conf", though various files may also be included.
Verify allow/deny is set according to organizational policy:
location / {
allow 192.168.0.0;
allow 10.0.0.0/16;
deny all;
}
If allow or deny is not set to organizational policy, this is a finding.
M
5720