Skip to content

http taking prevalence over https #1639

Answered by tidyui
digityne asked this question in Q&A
Discussion options

You must be logged in to vote

Most templates provided by Microsoft contains the following line in the Configure method in Startup.cs which will effectively redirect all requests to http to https. However our templates do not contain this by default, have you tried adding this line manually?

app.UseHttpsRedirection();

Regards

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@digityne
Comment options

Answer selected by digityne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants