Files
ma/src/server/apache-conf/000-default.conf
2024-01-14 11:48:31 +00:00

36 lines
1.0 KiB
Plaintext

<VirtualHost *:80>
ServerName cyberhex.srv
DocumentRoot /var/www/html
#SSLEngine on
#SSLCertificateFile /etc/apache2/certs/fullchain.pem
#SSLCertificateKeyFile /etc/apache2/certs/privkey.pem
#SSLCertificateChainFile /etc/apache2/certs/chain.pem
<Directory /var/www/html>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName cyberhex.srv
DocumentRoot /var/www/html
SSLEngine on
SSLCertificateKeyFile /etc/apache2/certs/privkey.pem
SSLCertificateFile /etc/apache2/certs/fullchain.pem
# SSLCertificateChainFile /etc/apache2/certs/fullchain.pem
<Directory /var/www/html>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>