Advertisement
Guest User

linuxback

a guest
May 13th, 2024
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. <VirtualHost *:80>
  2.  
  3. ServerName kanboard.domain
  4. Redirect permanent / https://privatebin.domain/
  5.  
  6.  
  7. </VirtualHost>
  8.  
  9. <VirtualHost *:443>
  10.  
  11. ServerAdmin informatique@domain
  12. ServerName privatebin.domain
  13. DocumentRoot /var/www/privatebin/
  14.  
  15. ErrorLog ${APACHE_LOG_DIR}/privatebin-error_ssl.log
  16. CustomLog ${APACHE_LOG_DIR}/privatebin-access_ssl.log combined
  17.  
  18. <Directory /var/www/privatebin>
  19. AllowOverride All
  20. </Directory>
  21.  
  22. SSLProxyEngine on
  23. SSLEngine on
  24. SSLCertificateFile /etc/apache2/ssl/privatebin.domain.crt
  25. SSLCertificateKeyFile /etc/apache2/ssl/privatebin.domain.key
  26.  
  27. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement