mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #2636] [MERGED] Use ASP.NET Core HTTPS Development Certificate #9170
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/2636
Author: @mark-monteiro
Created: 3/22/2020
Status: ✅ Merged
Merged: 4/5/2020
Merged by: @Bond-009
Base:
master← Head:development-https📝 Commits (6)
edc974eSet 'ASPNETCORE_ENVIRONMENT=Development' when running from visual studio54cbf9cBind HTTPS ports when running with development environment flag0e3d319Log 'ASPNETCORE_ENVIRONMENT' value at application startupc36e4ecLog all 'DOTNET_' and 'ASPNETCORE_' environment variables at application startup0e57348Merge remote-tracking branch 'upstream/master' into development-httpsbc91445Use correct naming convention for _relevantEnvVarPrefixes📊 Changes
3 files changed (+37 additions, -8 deletions)
View changed files
📝
Emby.Server.Implementations/ApplicationHost.cs(+10 -5)📝
Jellyfin.Server/Program.cs(+19 -1)📝
Jellyfin.Server/Properties/launchSettings.json(+8 -2)📄 Description
The .NET Core SDK includes an HTTPS development certificate that is is installed as part of the first-run experience (docs). When running in development mode we can serve over HTTPS using this certificate.
Changes
ASPNETCORE_ENVIRONMENT=Developmentenvironment variable when running from Visual Studio, VS Code, ordotnet runCLI (docs)DOTNET_andASPNETCORE_prefixed environment variables at server start (this includesASPNETCORE_ENVIRONMENT) (docs)I've also added documentation about this to the project README in #2620
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.