vm-ansible/roles/webserver/files/apache-site.conf

18 lines
651 B
Plaintext
Raw Normal View History

<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin webmaster@kmlabz.com
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
ProxyPass "/" "http://127.0.0.1:8080/" retry=1 acquire=3000 timeout=600 Keepalive=On
ProxyPassReverse "/" "http://127.0.0.1:8080/"
</VirtualHost>
</IfModule>