docs/running: formatting & correct RELAY_HTTP_BIND_ADDRESS/RELAY_HTTP_PORT

This commit is contained in:
Athanasius 2021-05-16 17:19:59 +01:00
parent 4229d59450
commit 5c9f01be7a

View File

@ -63,8 +63,8 @@ another file.
KEY_FILE = '/etc/letsencrypt/live/eddn.edcd.io/privkey.pem' KEY_FILE = '/etc/letsencrypt/live/eddn.edcd.io/privkey.pem'
1. Network configuration 1. Network configuration
1. `RELAY_HTTP_BIND_ADDRESS` and `RELAY_HTTP_PORT` define the IP and port on 1. `RELAY_HTTP_BIND_ADDRESS` and `RELAY_HTTP_PORT` define the IP and port
which the application listens for new messages from the Gateway. on the Relay listens for, e.g. `/stats/` requests.
1. `RELAY_RECEIVER_BINDINGS` defines where the Relay connects in order to 1. `RELAY_RECEIVER_BINDINGS` defines where the Relay connects in order to
subscribe to messages from the Gateway. Should match subscribe to messages from the Gateway. Should match
`GATEWAY_SENDER_BINDINGS`. `GATEWAY_SENDER_BINDINGS`.
@ -74,7 +74,7 @@ another file.
cached for so as to detect, and not Relay out, duplicate messages. If cached for so as to detect, and not Relay out, duplicate messages. If
you set this to the literal string `false` the duplication checks will be you set this to the literal string `false` the duplication checks will be
disabled. This is **very handy** when testing the code. disabled. This is **very handy** when testing the code.
1. `GATEWAY_HTTP_BIND_ADDRESS` and ``GATEWAY_HTTP_PORT` define where the 1. `GATEWAY_HTTP_BIND_ADDRESS` and `GATEWAY_HTTP_PORT` define where the
Gateway listens to for incoming messages from senders. Might be Gateway listens to for incoming messages from senders. Might be
forwarded from nginx or other reverse proxy. forwarded from nginx or other reverse proxy.
1. `GATEWAY_SENDER_BINDINGS` is where the Gateway listens for connections 1. `GATEWAY_SENDER_BINDINGS` is where the Gateway listens for connections