Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName kanboard.domain
- Redirect permanent / https://privatebin.domain/
- </VirtualHost>
- <VirtualHost *:443>
- ServerAdmin informatique@domain
- ServerName privatebin.domain
- DocumentRoot /var/www/privatebin/
- ErrorLog ${APACHE_LOG_DIR}/privatebin-error_ssl.log
- CustomLog ${APACHE_LOG_DIR}/privatebin-access_ssl.log combined
- <Directory /var/www/privatebin>
- AllowOverride All
- </Directory>
- SSLProxyEngine on
- SSLEngine on
- SSLCertificateFile /etc/apache2/ssl/privatebin.domain.crt
- SSLCertificateKeyFile /etc/apache2/ssl/privatebin.domain.key
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement