Advertisement
Guest User

odoo.conf

a guest
Sep 22nd, 2014
4,243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:80>
  2. ServerName localhost
  3. ServerAdmin admin@localhost
  4.  
  5. Redirect permanent / https://localhost/
  6. TransferLog /var/log/apache2/transfer.localhost.log
  7. ErrorLog /var/log/apache2/error.localhost.log
  8. </VirtualHost>
  9.  
  10. <VirtualHost *:443>
  11. ServerName localhost
  12. ServerAdmin admin@localhost
  13. <Proxy *>
  14. Order deny,allow
  15. Allow from all
  16. </Proxy>
  17. SSLProxyEngine on
  18. SSLEngine on
  19. SSLCertificateFile /etc/ssl/erp/localhost.crt
  20. SSLCertificateKeyFile /etc/ssl/erp/localhost.key
  21.  
  22. ProxyRequests Off
  23. ProxyPass / http://127.0.0.1:8069/
  24. ProxyPassReverse / http://127.0.0.1:8069/
  25. ProxyErrorOverride off
  26. TransferLog /var/log/apache2/transfer.localhost.log
  27. ErrorLog /var/log/apache2/error.localhost.log
  28. CustomLog /var/log/apache2/ssl.localhost.log combined
  29.  
  30. #Fix IE problem (httpapache proxy dav error 408/409)
  31. SetEnv proxy-nokeepalive 1
  32. RequestHeader set "X-Forwarded-Proto" "https"
  33. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement