Skip to content

Instantly share code, notes, and snippets.

@aorborc
Forked from mrsarm/openerp-httpd.conf
Last active August 29, 2015 14:05
Show Gist options
  • Save aorborc/c78b474e5d8856856197 to your computer and use it in GitHub Desktop.
Save aorborc/c78b474e5d8856856197 to your computer and use it in GitHub Desktop.
#
# /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 ops.aorborc.com
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment