ICT Service Delivery And Operation - ISDO
Configuring SELinux for Nginx/Apache
https://t.me/linuxmalaysiamy/175
# Allow nginx or apache to access public files of web application and communicate
# /var/www/zammad/public/ as example, change it.
# AlmaLinux, Rocky Linux, Oracle Linux and Centos
chcon -Rv --type=httpd_sys_content_t /var/www/zammad/public/
setsebool httpd_can_network_connect on -P
semanage fcontext -a -t httpd_sys_content_t /var/www/zammad/public/
restorecon -Rv /var/www/zammad/public/
# Check for the port using http in the list
#
semanage port -l | grep http
# Add the http port needed
semanage port -a -t http_port_t -p tcp 9000
semanage port -a -t http_port_t -p tcp 9001
(Will hit error for port 9001 if the policy exist, can be ignore)
# Restart nginx and related services just to make sure and check the logs.
# Using nginx as proxy to different host
setsebool -P httpd_can_network_relay 1
setsebool -P httpd_can_network_connect 1
# # # #
# # Dont use this # # semanage permissive -a httpd_t
Detail explanation of each command in the context of configuring SELinux for allowing a web server (like nginx or Apache) to access and communicate with the necessary resources.
https://docs.google.com/document/d/e/2PACX-1vQa0m3Up4E-ZAoP_T3u5IHIFu6VjSWUZBnq12meN_J7KR2aCq30yJmO2xPSUjWoHT8WmlROeDzkjvlV/pub
Configuring SELinux for Nginx/Apache - 20240610 This guide walks you through configuring SELinux to allow your web server (Nginx or Apache) to access and communicate with necessary resources securely. This is for AlmaLinux, Centos, Rocky Linux and others.
28/04/2024
The first-ever MoodleMoot in Malaysia invites educators to share knowledge and learn together. This event aims to stimulate community growth by fostering collaboration, discussing emerging trends, and addressing technical challenges. Throughout the day, participants will explore how Moodle can effectively support evolving trends in education and training.
https://moot.modernlms.com/?linuxmalaysia
MoodleMoots are dedicated conferences for users, developers, and administrators of the popular open-source learning management system, Moodle. Typically spanning a day, these events are held in venues conducive to discussions and collaborations among the Moodle community, offering workshops, presentations, and forums.
https://t.me/linuxmalaysiamy/153
Home - MoodleMoot Malaysia Days Hours Minutes Seconds
Click here to claim your Sponsored Listing.
Category
Telephone
Website
Address
Cyberjaya
63000
Opening Hours
| Monday | 09:00 - 18:00 |
| Tuesday | 09:00 - 18:00 |
| Wednesday | 09:00 - 18:00 |
| Thursday | 09:00 - 18:00 |
| Friday | 09:00 - 18:00 |