Skip to content

Instantly share code, notes, and snippets.

@Phoul
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Phoul/23abe67f91a92f173cc3 to your computer and use it in GitHub Desktop.
Save Phoul/23abe67f91a92f173cc3 to your computer and use it in GitHub Desktop.
pups-proxy.conf
NameVirtualHost *:80
Listen 80
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
Include mods-enabled/*.load
Include mods-enabled/*.conf
Include conf.d/
PidFile /var/run/pups-proxy.pid
ErrorLog ${APACHE_LOG_DIR}/error.log
<VirtualHost *:80>
DocumentRoot /var/www2
ServerName pups.insecure-complexity.com
ProxyPass / http://localhost:81/
ProxyPassReverse / http://localhost:81/
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /var/www
ServerName pups2.insecure-complexity.com
ProxyPass / http://localhost:82/
ProxyPassReverse / http://localhost:82/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment