Browse Source

HTTP/2 configuration support

pull/5457/head
Igor Kulikov 5 years ago
parent
commit
f4e864608e
  1. 4
      application/src/main/resources/thingsboard.yml
  2. 4
      transport/http/src/main/resources/tb-http-transport.yml

4
application/src/main/resources/thingsboard.yml

@ -47,6 +47,10 @@ server:
key_alias: "${SSL_KEY_ALIAS:tomcat}"
# Password used to access the key
key_password: "${SSL_KEY_PASSWORD:thingsboard}"
# HTTP/2 support (takes effect only if server SSL is enabled)
http2:
# Enable/disable HTTP/2 support
enabled: "${HTTP2_ENABLED:true}"
log_controller_error_stack_trace: "${HTTP_LOG_CONTROLLER_ERROR_STACK_TRACE:false}"
ws:
send_timeout: "${TB_SERVER_WS_SEND_TIMEOUT:5000}"

4
transport/http/src/main/resources/tb-http-transport.yml

@ -47,6 +47,10 @@ server:
key_alias: "${SSL_KEY_ALIAS:tomcat}"
# Password used to access the key
key_password: "${SSL_KEY_PASSWORD:thingsboard}"
# HTTP/2 support (takes effect only if server SSL is enabled)
http2:
# Enable/disable HTTP/2 support
enabled: "${HTTP2_ENABLED:true}"
# Zookeeper connection parameters. Used for service discovery.
zk:

Loading…
Cancel
Save