iis-arr

IIS URL Rewrite based on logged in user

余生长醉 提交于 2019-12-11 13:56:21
问题 I have a scenario whereby I want to route http requests from authenticated users to specific websites hidden behind a reverse proxy. The decision of which site to route too is based on the specific user. For example, user 'Mary' may be routed to site "b"; user 'John' may be routed to site "e". I am hosting the sites on IIS and am using ARR as my reverse proxy. I'm trying to figure out the best way to use URL Rewrite to make the routing decision. One idea I had was to build a custom URL

Adding a custom header to ARR requests

隐身守侯 提交于 2019-11-30 19:16:55
I'm running a service behind IIS using ARR as a reverse proxy. I know there are x-forwarded-for and x-arr-log-id headers that are passed along. However, what I would like is a private key passed in so that the backing application explicitly knows that the request is not local (even though the ARR server is). I've seen some posts on adding/replacing server variables, but this doesn't seem to come through via the request headers on the backing application. I'm guessing that there must be some web.config setting that will do this, but have had no luck finding it thus far. Example: X-PRIVATE-TOKEN

Adding a custom header to ARR requests

╄→гoц情女王★ 提交于 2019-11-30 02:41:49
问题 I'm running a service behind IIS using ARR as a reverse proxy. I know there are x-forwarded-for and x-arr-log-id headers that are passed along. However, what I would like is a private key passed in so that the backing application explicitly knows that the request is not local (even though the ARR server is). I've seen some posts on adding/replacing server variables, but this doesn't seem to come through via the request headers on the backing application. I'm guessing that there must be some