Created
February 13, 2018 10:01
-
-
Save BanksySan/aaefa6ad15cdb298897177434701180c to your computer and use it in GitHub Desktop.
web.config snippets
This file contains hidden or 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
<!-- 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