Skip to content

Instantly share code, notes, and snippets.

@e0ne
Created April 24, 2015 09:47
Show Gist options
  • Save e0ne/bd9ed31d9609bbc525a1 to your computer and use it in GitHub Desktop.
Save e0ne/bd9ed31d9609bbc525a1 to your computer and use it in GitHub Desktop.
/etc/apache2/sites-available/25-apache_api_proxy.conf
<Proxy *>
Order Deny,Allow
Allow from all
</Proxy>
# iptables -I INPUT -p tcp --dport 8888 -m comment --comment "Proxy for API" -j ACCEPT
# expot HTTP_PROXY=http://controller_ip:8888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment