Created
May 2, 2021 01:25
-
-
Save Sevaarcen/b3e7a762c677316780c4700624d20e7d to your computer and use it in GitHub Desktop.
Fixes selinux permissions to allow all previously-denied nginx permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo grep nginx /var/log/audit/audit.log | grep denied | audit2allow -M nginx_local | |
sudo semodule -i nginx_local.pp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment