Tag Archives: Apache

Reverse proxy with exception for Let’s Encrypt

With many services running in their own container or with their own daemon, the use of reverse proxies is getting more common, and at the same time, the use of SSL/TLS has become a standard. Let’s Encrypt is a provider … Continue reading

Posted in Encryption, Web technologies | Tagged , , , | Comments Off on Reverse proxy with exception for Let’s Encrypt

Apache document root in users home directory with SELinux

Serving web-content from a user’s home directory allows the user to conveniently upload files. By default, the apache configuration in many Linux distributions assumes content is uploaded to a single directory owned by the webserver’s user, but it might be … Continue reading

Posted in Security, Web technologies | Tagged , , , | Comments Off on Apache document root in users home directory with SELinux

SELinux allow webserver to send email

When Wordpress tries to send email and you see “your host may have disabled the mail() function” it might be that SELinux is blocking it. Here is how to enable it. Continue reading

Posted in Linux Administration, Security | Tagged , , | Comments Off on SELinux allow webserver to send email

Set up apache and the log path with SELinux

Depending on your backup strategy you might run into troubles of backup the entire /etc directory. Running a default installed Apache on CentOS will have the log directory of Apache linked from within the /etc/httpd/ directory. If you backup solution would backup those as well, the backups would contain the logs and get huge. Continue reading

Posted in Linux Administration, Security | Tagged , , | Comments Off on Set up apache and the log path with SELinux