systemd-analyze security nginx.service

Category: Administration

systemd-analyze security nginx.service

Audit a unit's security exposure

Scores the nginx service against hardening properties such as PrivateTmp, NoNewPrivileges, and capability restrictions, printing a risk level from 0.0 to 9.9. Use the printed suggestions to add hardening directives to the unit. The form without a unit name analyzes the whole system.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.