Skip to content

Instantly share code, notes, and snippets.

@int128
Created November 20, 2012 00:56
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 int128/4115245 to your computer and use it in GitHub Desktop.
Save int128/4115245 to your computer and use it in GitHub Desktop.
Web proxy configuration
Listen *:9090
<VirtualHost *:9090>
ProxyRequests on
ProxyRemote * http://192.168.0.100:9090
AddDefaultCharset off
<Proxy *>
Order deny,allow
Deny from all
Allow from 127.0.0.0/8
Allow from 192.168.1.0/24
</Proxy>
ErrorLog logs/webproxy_error_log
CustomLog logs/webproxy_access_log combined
#CustomLog /dev/null combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment