docs: update config: ref #2800 & #2837

This commit is contained in:
zramsay 2018-11-14 15:48:55 -05:00 committed by Anton Kaliaev
parent 814a88a69b
commit 1ce24a6282

View File

@ -68,6 +68,17 @@ filter_peers = false
# TCP or UNIX socket address for the RPC server to listen on # TCP or UNIX socket address for the RPC server to listen on
laddr = "tcp://0.0.0.0:26657" laddr = "tcp://0.0.0.0:26657"
# A list of origins a cross-domain request can be executed from
# Default value '[]' disables cors support
# Use '["*"]' to allow any origin
cors_allowed_origins = "[]"
# A list of methods the client is allowed to use with cross-domain requests
cors_allowed_methods = "[HEAD GET POST]"
# A list of non simple headers the client is allowed to use with cross-domain requests
cors_allowed_headers = "[Origin Accept Content-Type X-Requested-With X-Server-Time]"
# TCP or UNIX socket address for the gRPC server to listen on # TCP or UNIX socket address for the gRPC server to listen on
# NOTE: This server only supports /broadcast_tx_commit # NOTE: This server only supports /broadcast_tx_commit
grpc_laddr = "" grpc_laddr = ""