mirror of
https://github.com/unraid/api.git
synced 2025-12-21 08:39:38 -06:00
fix(connect): valid LAN FQDN while remote access is enabled (#1625)
Stop appending `wanport` to LAN FQDN when remote access is enabled.
This commit is contained in:
@@ -331,9 +331,10 @@ export class UrlResolverService {
|
||||
nginx.fqdnUrls?.forEach((fqdnUrl: FqdnEntry) => {
|
||||
doSafely(() => {
|
||||
const urlType = this.getUrlTypeFromFqdn(fqdnUrl.interface);
|
||||
const portToUse = urlType === URL_TYPE.LAN ? nginx.httpsPort : wanport || nginx.httpsPort;
|
||||
const fqdnUrlToUse = this.getUrlForField({
|
||||
url: fqdnUrl.fqdn,
|
||||
portSsl: Number(wanport || nginx.httpsPort),
|
||||
portSsl: Number(portToUse),
|
||||
});
|
||||
|
||||
urls.push({
|
||||
|
||||
Reference in New Issue
Block a user