DebugProxyPass dynamic server_name and Trim ;
This commit is contained in:
parent
2f65dd3120
commit
09c37aed14
@ -28,13 +28,13 @@ internal static partial class Helper20240916
|
||||
{
|
||||
segments = line.Split(searchString, StringSplitOptions.None);
|
||||
if (segments.Length > 1 && segments[1][0] is ' ' or '\t')
|
||||
domain = segments[1].Trim();
|
||||
domain = segments[1].Trim().Trim(';');
|
||||
segments = line.Split(searchStrings, StringSplitOptions.None);
|
||||
if (segments.Length < 2)
|
||||
continue;
|
||||
if (segments[1][0] is not ' ' and not '\t')
|
||||
continue;
|
||||
debug = segments[1].Trim();
|
||||
debug = segments[1].Trim().Trim(';');
|
||||
}
|
||||
logger.LogInformation("include {includePath}{fileName}; # https://{domain} # {debug}",
|
||||
includePath,
|
||||
|
Loading…
x
Reference in New Issue
Block a user