Files
sugar-crm/apache-suitecrm.conf
root 30905b15d4
Some checks failed
Docker Build & Push / build-and-push (push) Has been cancelled
feat: SuiteCRM Docker + compose + CI/CD
2026-05-24 14:12:23 +02:00

24 lines
648 B
Plaintext

<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
<Directory /var/www/html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# Protect sensitive files
<FilesMatch "\.(log|ini|git|sh|yml|yaml|md)$">
Require all denied
</FilesMatch>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# Security headers
Header always set X-Content-Type-Options "nosniff"
Header always set X-Frame-Options "SAMEORIGIN"
Header always set X-XSS-Protection "1; mode=block"
</VirtualHost>