Rootstock: revert HOCON env-var sub - hardcode rpc-de-31 domain

${?DOMAIN} substitution caused rskj to crash with 'Can't read config'.
Hardcoding the host-specific domain for now (rootstock only runs on
de-31). For multi-host deployment later, would need a per-host
templated node.conf or a proxy that rewrites Host header.
This commit is contained in:
2026-05-05 19:28:27 +00:00
parent 7dc379dd05
commit 67c08fe6c9
2 changed files with 2 additions and 6 deletions

View File

@@ -11,9 +11,7 @@ rpc {
http = {
enabled = true
bind_address = "0.0.0.0"
# Whitelist: include localhost variants AND the public domain.
# ${?DOMAIN} is HOCON env-var sub: skipped if env var is unset.
hosts = ["localhost", "127.0.0.1", "::1", ${?DOMAIN}]
hosts = ["localhost", "127.0.0.1", "::1", "rpc-de-31.stakesquid.eu"]
port = 8545
}
ws = {