Skip to content

Instantly share code, notes, and snippets.

@BanksySan
Created February 13, 2018 10:01
Show Gist options
  • Save BanksySan/aaefa6ad15cdb298897177434701180c to your computer and use it in GitHub Desktop.
Save BanksySan/aaefa6ad15cdb298897177434701180c to your computer and use it in GitHub Desktop.
web.config snippets
<!-- Proxy -->
<system.net>
<defaultProxy>
<proxy
usesystemdefault="true"
proxyaddress="http://127.0.0.1:8888"
bypassonlocal="true" />
<bypasslist>
<add address="[a-z]+\.contoso\.com" />
</bypasslist>
</defaultProxy>
</system.net>
<!-- IP Blocking -->
<security>
<ipSecurity allowUnlisted="false" denyAction="NotFound">
<!-- local -->
<add allowed="true" ipAddress="127.0.0.1" />
</ipSecurity>
</security>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment