Created
February 28, 2014 18:32
Revisions
-
mrsarm created this gist
Feb 28, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,37 @@ # # /etc/apache2/sites-available/openerp # # OpenERP Reverse Proxy Configuration for Apache 2. # # Authors: 2014 Mariano Ruiz <[email protected]> # # After copy this file execute: # # sudo a2ensite openerp # sudo a2enmod proxy_http # sudo service apache2 restart # <VirtualHost *:80> ServerName erp.mrdev.com.ar ServerAdmin [email protected] ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://localhost:8069/ ProxyPassReverse / http://localhost:8069/ # Fix IE problem (httpapache proxy dav error 408/409) SetEnv proxy-nokeepalive 1 ErrorLog ${APACHE_LOG_DIR}/openerp.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/openerp-access.log combined </VirtualHost>