web/admin: fix missing protocols on generated nginx config
closes #2585 Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
7cbd5174f0
commit
bc3e6b3962
|
@ -97,14 +97,15 @@ export class ProxyProviderViewPage extends LitElement {
|
|||
if (this.provider?.mode === ProxyMode.ForwardSingle) {
|
||||
markdown.html = markdown.html
|
||||
.replaceAll("authentik.company", window.location.hostname)
|
||||
.replaceAll("http://outpost.company:9000", window.location.hostname)
|
||||
.replaceAll("outpost.company:9000", window.location.hostname)
|
||||
.replaceAll("https://app.company", extHost.toString())
|
||||
.replaceAll("app.company", extHost.hostname);
|
||||
} else if (this.provider?.mode == ProxyMode.ForwardDomain) {
|
||||
markdown.html = markdown.html
|
||||
.replaceAll("authentik.company", window.location.hostname)
|
||||
.replaceAll("https://app.company", extHost.hostname)
|
||||
.replaceAll("http://outpost.company:9000", extHost.toString());
|
||||
.replaceAll("outpost.company:9000", extHost.toString())
|
||||
.replaceAll("https://app.company", extHost.toString())
|
||||
.replaceAll("app.company", extHost.hostname);
|
||||
}
|
||||
return markdown;
|
||||
}
|
||||
|
|
Reference in a new issue