Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

IIS: URL rewrite HTTP to HTTPS except requests coming from localhost


Hey everyone,


I've configured HTTPS on my server, and applied a URL rewrite rule, where every HTTP request is rewritten as HTTPS (as shown in the picture)

rewrite rule

There's a need for this rule not to be applied for requests comming from localhost. How can I configure this behaviour? I think a solution would be applying this rule based on the request not comming from localhost, so that anything else would be rewritten, but I've not been able to configure it.





Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now