Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/b0f04bb9d79a9f9f0021d179ea7273998be7cab3
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
9 additions and
0 deletions
@ -3,6 +3,7 @@ using System.Collections.Generic;
using Microsoft.AspNetCore.Authorization ;
using Microsoft.AspNetCore.Builder ;
using Microsoft.AspNetCore.Http ;
using Microsoft.AspNetCore.HttpOverrides ;
using Microsoft.Extensions.Configuration ;
using Microsoft.Extensions.DependencyInjection ;
using Microsoft.Extensions.Logging ;
@ -47,6 +48,13 @@ namespace NzbDrone.Host
b . AddNLog ( ) ;
} ) ;
services . Configure < ForwardedHeadersOptions > ( options = >
{
options . ForwardedHeaders = ForwardedHeaders . XForwardedFor | ForwardedHeaders . XForwardedProto ;
options . KnownNetworks . Clear ( ) ;
options . KnownProxies . Clear ( ) ;
} ) ;
services . AddRouting ( options = > options . LowercaseUrls = true ) ;
services . AddResponseCompression ( ) ;
@ -143,6 +151,7 @@ namespace NzbDrone.Host
firewallAdapter . MakeAccessible ( ) ;
}
app . UseForwardedHeaders ( ) ;
app . UseMiddleware < LoggingMiddleware > ( ) ;
app . UsePathBase ( new PathString ( configFileProvider . UrlBase ) ) ;
app . UseExceptionHandler ( new ExceptionHandlerOptions