microsoft / iis-docker

Dockerfile for IIS
https://hub.docker.com/r/microsoft/iis/
MIT License
288 stars 128 forks source link

use HTTP Context variables inside Containerized WebSite #169

Closed ntxarch closed 5 months ago

ntxarch commented 4 years ago

I've containerized a ASP.NET website, running under gMSA. The website retrieves the value Request.ServerVariables("REMOTE_USER") to validate the user has access to the application. When running in the container this value comes back as null/blank. Is there a method to retrieve this value while running in the container? We are using the 4.7.2 image for Server 2019.

If there is a more appropriate forum for this question, please let me know.

MichaelSimons commented 4 years ago

@HongGit - Can you provide guidance?

ntxarch commented 4 years ago

Guidance on what is being attempted or guidance on how to resolve? I am still working on resolution.

HongGit commented 4 years ago

ASP.NET behavior didn't change without gMSA. Since Request.ServerVariables("REMOTE_USER") was obtained from IIS, I will transfer this issue to IIS team to determine what is the cause of this issue.