-
Notifications
You must be signed in to change notification settings - Fork 523
IHttpRequestFeature.Scheme not set to HTTPS #365
Comments
What's the expectation on reporting in the SSL termination (e.g. reverse proxy) case? For example, will Kestrel eventually be aware of the |
@NickCraver I think the expectation is that the developer needs to add our OverrideHeaderMiddleware if they're behind a reverse proxy. |
@halter73 ah just what I was looking for, thanks! The middleware seems incorrect though. For example, X-Forwarded-Proto is a comma list as well, not a single entry...it's just usually a single entry. The "spec" is multiple though, for example CloudFlare adds one and HAProxy adds one in our case. |
@halter73 I appreciate the link; I couldn't find that when looking. Issue opened on that repo: aspnet/BasicMiddleware#18 |
Fixed by #385 |
When using HTTPS/TLS the IHttpRequestFeature is not set accordingly, all requests are reported as http.
The text was updated successfully, but these errors were encountered: