Skip to content

[LAB IDEA] SELinux Denies Nginx on Custom Port #34

Description

@HimanM

Scenario Description

Nginx runs but app is unreachable on port 8080.

Root Cause

SELinux policy does not allow HTTP service on the custom port.

Setup Instructions

Set nginx to listen on 8080 while keeping SELinux enforcing without port context mapping.

Expected Resolution Steps

Check audit logs and SELinux denials then map the port type and verify HTTP works.
Broken SELinux Context on Web Root

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions