adding server code

This commit is contained in:
Janis Steiner
2024-01-14 11:48:31 +00:00
parent c3f3fb85af
commit 343720365a
5 changed files with 140 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<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>