Skip to content

Conversation

@twsouthwick
Copy link
Member

We were updating SERVER_PROTOCOL which is not used in IIS for HTTP/HTTPS, but rather the version of HTTP. Instead, we need to update the HTTPS server variable.

Fixes #118

@twsouthwick twsouthwick force-pushed the tasou/update-https-server branch from d78c437 to bc9cee0 Compare July 21, 2022 22:48
@twsouthwick twsouthwick requested review from Tratcher and mjrousos July 21, 2022 23:35
@twsouthwick twsouthwick force-pushed the tasou/update-https-server branch from bc9cee0 to 9c2e599 Compare July 21, 2022 23:48
We were updating SERVER_PROTOCOL which is not used in IIS for HTTP/HTTPS, but rather the version of HTTP. Instead, we need to update the HTTPS server variable.
@twsouthwick twsouthwick force-pushed the tasou/update-https-server branch from 9c2e599 to f4cc42b Compare July 21, 2022 23:50
@twsouthwick twsouthwick merged commit 4444f94 into main Jul 22, 2022
@twsouthwick twsouthwick deleted the tasou/update-https-server branch July 22, 2022 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

X-Forwarded-Proto isn't respected in MVC Request due to wrong server variable being set

3 participants