blog icon indicating copy to clipboard operation
blog copied to clipboard

For the production mode,How do you do?

Open lap888 opened this issue 6 years ago • 5 comments

https://asp.net-hacker.rocks/2018/07/05/aspnetcore-ssl.html For the production mode,How do you do?

lap888 avatar Apr 23 '19 08:04 lap888

Hi @TopGuo Thanks for your comment :-) It depends on how to go productive. On IIS? On NgenX? On Azure? Or on plain Kestrel?

JuergenGutsch avatar Apr 23 '19 11:04 JuergenGutsch

Hi @TopGuo Thanks for your comment :-) It depends on how to go productive. On IIS? On NgenX? On Azure? Or on plain Kestrel?

Nginx,Thanks...

lap888 avatar May 01 '19 12:05 lap888

In that case you don't really need to configure ASP.NET Core / Kestrel to use HTTPS. Just configure Nginx to serve HTTPS and Nginx is proxying to Kestrel using HTTP.

Maybe this docs page will be helpful for you: https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-2.2#https-configuration

JuergenGutsch avatar May 02 '19 06:05 JuergenGutsch

In that case you don't really need to configure ASP.NET Core / Kestrel to use HTTPS. Just configure Nginx to serve HTTPS and Nginx is proxying to Kestrel using HTTP.

Maybe this docs page will be helpful for you: https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-2.2#https-configuration

ok,thanks

lap888 avatar May 05 '19 15:05 lap888

Hi @TopGuo Thanks for your comment :-) It depends on how to go productive. On IIS? On NgenX? On Azure? Or on plain Kestrel? what if in IIS?

sithuwin123 avatar Dec 20 '19 09:12 sithuwin123