relay-url => tunnel-relay-url

This commit is contained in:
AJ ONeal 2020-07-17 23:41:08 -06:00
parent d0b6a899f2
commit 8232e55551
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ func main() {
enableTLSALPN01 := flag.Bool("acme-tls-alpn-01", false, "enable TLS-ALPN-01 ACME challenges") enableTLSALPN01 := flag.Bool("acme-tls-alpn-01", false, "enable TLS-ALPN-01 ACME challenges")
acmeRelay := flag.String("acme-relay-url", "", "the base url of the ACME DNS-01 relay, if not the same as the tunnel relay") acmeRelay := flag.String("acme-relay-url", "", "the base url of the ACME DNS-01 relay, if not the same as the tunnel relay")
authURL := flag.String("auth-url", "", "the base url for authentication, if not the same as the tunnel relay") authURL := flag.String("auth-url", "", "the base url for authentication, if not the same as the tunnel relay")
relay := flag.String("relay-url", "", "the websocket url at which to connect to the tunnel relay") relay := flag.String("tunnel-relay-url", "", "the websocket url at which to connect to the tunnel relay")
apiHostname := flag.String("api-hostname", "", "the hostname used to manage clients") apiHostname := flag.String("api-hostname", "", "the hostname used to manage clients")
secret := flag.String("secret", "", "the same secret used by telebit-relay (used for JWT authentication)") secret := flag.String("secret", "", "the same secret used by telebit-relay (used for JWT authentication)")
token := flag.String("token", "", "a pre-generated token to give the server (instead of generating one with --secret)") token := flag.String("token", "", "a pre-generated token to give the server (instead of generating one with --secret)")

View File

@ -41,7 +41,7 @@ VERBOSE_RAW=${VERBOSE_RAW:-}
--auth-url $AUTH_URL \ --auth-url $AUTH_URL \
--app-id "$APP_ID" \ --app-id "$APP_ID" \
--secret "$CLIENT_SECRET" \ --secret "$CLIENT_SECRET" \
--relay-url $TUNNEL_RELAY_URL \ --tunnel-relay-url $TUNNEL_RELAY_URL \
--listen "$LISTEN" \ --listen "$LISTEN" \
--locals "$LOCALS" \ --locals "$LOCALS" \
--acme-agree=${ACME_AGREE} \ --acme-agree=${ACME_AGREE} \