Advertisement
Guest User

Untitled

a guest
May 24th, 2013
1,127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <VirtualHost *:80>
  2.  
  3. ServerName openerpserver
  4. RewriteEngine On
  5. RewriteCond %{HTTPS} off
  6. RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
  7.  
  8. </VirtualHost>
  9.  
  10. <VirtualHost *:443>
  11. ServerName openerpserver
  12.  
  13. RewriteEngine on
  14. RewriteRule ^/(.*) http://local_ip:8069/$1 [P]
  15. ProxyPassReverse / http://local_ip:8069/
  16.  
  17. SSLEngine On
  18. SSLCertificateFile /etc/apache2/ssl/cert.crt
  19. SSLCertificateKeyFile /etc/apache2/ssl/cert.key
  20.  
  21. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement