generated from polymech/site-template
23 lines
591 B
Plaintext
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>
|