Understanding and Configuring SELinux (Security Enhanced Linux)
Channel: Juriy Bura
Date: 2018-03-27

Do you know what's -rwxr-xr-x means? Great, yet it is not enough to configure permissions on your Linux host anymore. From 2018 SELinux (Security Enhanced Linux) is turned ON by default in most distributions. While improving the security, it will also block many actions that were allowed before which may lead to hard-to-find errors. 

In this video we'll learn how to configure SELinux policies for our deployment.
10:00 commands summary (for those in a rush)

------------------
Deploying Node playlist: 
https://www.youtube.com/playlist?list=PLQlWzK5tU-gDyxC1JTpyC2avvJlt3hrIh

------------------
00:10 - what is SELinux
01:28 - check if SELinux is enabled
02:40 - SELinux permission model
06:32 - how to allow connection between nginx and node.js
07:46 - allowing nginx to read users home directories
08:13 - changing the type of static file (allowing nginx to read them)
10:00 - commands summary