-
-
Save aorborc/c78b474e5d8856856197 to your computer and use it in GitHub Desktop.
This file contains 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 characters
# | |
# /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