Rules Related To 'nginx'

Component overview

Relevant packages:

Relevant groups:

Changelog:

No changes recorded.

Relevant rules:

Rule details

Uninstall nginx Package

package_nginx_removed

Description

The nginx package should not be present in the container or container image. Remove the nginx package from Containerfile and rebuild the container image.

Rationale

If there is no need to make the web server software available, removing it provides a safeguard against its activation.

Disable nginx Service

service_nginx_disabled

Description

The nginx service can be disabled with the following command:

$ sudo systemctl mask --now nginx.service

Rationale

Running web server software provides a network-based avenue of attack, and should be disabled if not needed.