This repository has been archived on 2025-12-24. You can view files and clone it, but cannot push or open issues or pull requests.
site-template/systems/config/default-ssl.conf
2025-03-07 14:59:06 +01:00

23 lines
591 B
Plaintext

<VirtualHost *:443>
ServerAdmin admin@example.com
DocumentRoot /var/www/html
ServerName localhost
ErrorLog ${APACHE_LOG_DIR}/error_ssl.log
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
# SSL Configuration
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/server.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key
<Directory /var/www/html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# Enable rewrite engine
RewriteEngine On
RewriteOptions Inherit
</VirtualHost>