-
-
Save Phoul/fec7d65492db6bc7a35b to your computer and use it in GitHub Desktop.
pups.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 81 | |
User ${APACHE_RUN_USER} | |
Group ${APACHE_RUN_GROUP} | |
Include mods-enabled/*.load | |
Include mods-enabled/*.conf | |
Include conf.d/ | |
PidFile /var/run/pups.pid | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
Alias /static/ /home/sherief/pups/static/ | |
<Directory /home/sherief/pups/static> | |
Order deny,allow | |
Allow from all | |
</Directory> | |
WSGIScriptAlias / /home/sherief/pups/pups/wsgi.py | |
WSGIPythonPath /home/sherief/pups/ | |
<Directory /home/sherief/pups/pups> | |
<Files wsgi.py> | |
Order deny,allow | |
Allow from all | |
</Files> | |
</Directory> | |
<VirtualHost *:81> | |
ServerName pups.insecure-complexity.com | |
DocumentRoot /var/www | |
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