-
-
Save Phoul/624575fc89a33043b312 to your computer and use it in GitHub Desktop.
pups-staging.conf
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
Listen 82 | |
User ${APACHE_RUN_USER} | |
Group ${APACHE_RUN_GROUP} | |
Include mods-enabled/*.load | |
Include mods-enabled/*.conf | |
Include conf.d/ | |
PidFile /var/run/pups-staging.pid | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
Alias /static/ /home/sherief/pups-staging/static/ | |
<Directory /home/sherief/pups-staging/static> | |
Order deny,allow | |
Allow from all | |
</Directory> | |
WSGIScriptAlias / /home/sherief/pups-staging/pups/wsgi.py | |
WSGIPythonPath /home/sherief/pups-staging/ | |
<Directory /home/sherief/pups-staging/pups> | |
<Files wsgi.py> | |
Order deny,allow | |
Allow from all | |
</Files> | |
</Directory> | |
<VirtualHost *:82> | |
ServerName pups2.insecure-complexity.com | |
DocumentRoot /var/www2 | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
# Possible values include: debug, info, notice, warn, error, crit, | |
# alert, emerg. | |
LogLevel warn | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
# BOSH endpoint proxy START | |
<IfModule mod_proxy.c> | |
<IfModule mod_proxy_http.c> | |
ProxyRequests Off | |
ProxyPass /http-bind http://188.226.179.216:5280/http-bind/ | |
ProxyPassReverse /http-bind http://188.226.179.216:5280/http-bind/ | |
</IfModule> | |
</IfModule> | |
# BOSH endpoint proxy END | |
</VirtualHost> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment