Add Https port to service collection
This commit is contained in:
parent
5813f8073c
commit
6ff372a550
|
@ -46,6 +46,10 @@ namespace Jellyfin.Server
|
||||||
{
|
{
|
||||||
services.AddResponseCompression();
|
services.AddResponseCompression();
|
||||||
services.AddHttpContextAccessor();
|
services.AddHttpContextAccessor();
|
||||||
|
services.AddHttpsRedirection(options =>
|
||||||
|
{
|
||||||
|
options.HttpsPort = _serverApplicationHost.HttpsPort;
|
||||||
|
});
|
||||||
services.AddJellyfinApi(
|
services.AddJellyfinApi(
|
||||||
_serverConfigurationManager.Configuration.BaseUrl.TrimStart('/'),
|
_serverConfigurationManager.Configuration.BaseUrl.TrimStart('/'),
|
||||||
_serverApplicationHost.GetApiPluginAssemblies());
|
_serverApplicationHost.GetApiPluginAssemblies());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user