Skip to content

Commit 26eeb9b

Browse files
authored
Merge pull request #9262 from shirady/endpoint-iam-port
IAM | Add IAM endpoint port in `config.js`
2 parents bce32b8 + 800323d commit 26eeb9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,8 @@ config.ENDPOINT_PORT = Number(process.env.ENDPOINT_PORT) || 6001;
10321032
config.ENDPOINT_SSL_PORT = Number(process.env.ENDPOINT_SSL_PORT) || 6443;
10331033
// Remove the NSFS condition when NSFS starts to support STS.
10341034
config.ENDPOINT_SSL_STS_PORT = Number(process.env.ENDPOINT_SSL_STS_PORT) || (process.env.NC_NSFS_NO_DB_ENV === 'true' ? -1 : 7443);
1035-
config.ENDPOINT_SSL_IAM_PORT = Number(process.env.ENDPOINT_SSL_IAM_PORT) || -1;
1035+
// Remove the NC NSFS condition when NC NSFS starts to support IAM.
1036+
config.ENDPOINT_SSL_IAM_PORT = Number(process.env.ENDPOINT_SSL_IAM_PORT) || (process.env.NC_NSFS_NO_DB_ENV === 'true' ? -1 : 13443);
10361037
// each fork will get port in range [ENDPOINT_FORK_PORT_BASE, ENDPOINT_FORK_PORT_BASE + number of forks - 1)]
10371038
config.ENDPOINT_FORK_PORT_BASE = Number(process.env.ENDPOINT_FORK_PORT_BASE) || 6002;
10381039
config.ALLOW_HTTP = false;

0 commit comments

Comments
 (0)