From 9ab3fa6b707b6a6b8cc1108f266506d058d0ffc5 Mon Sep 17 00:00:00 2001 From: Luna Date: Wed, 5 Dec 2018 01:41:23 -0300 Subject: [PATCH] config.example.py: add MEDIA_PROXY config field --- config.example.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config.example.py b/config.example.py index 686cfc1..ce7001d 100644 --- a/config.example.py +++ b/config.example.py @@ -28,12 +28,16 @@ class Config: # e.g 'gateway.example.com' for reverse proxies. WEBSOCKET_URL = 'localhost:5001' - # Where to host the websocket? - # (a local address the server will bind to) + #: Where to host the websocket? + # (a local address the server will bind to) WS_HOST = '0.0.0.0' WS_PORT = 5001 - # Postgres credentials + #: Mediaproxy URL on the internet + # mediaproxy is made to prevent client IPs being leaked. + MEDIA_PROXY = 'localhost:5002' + + #: Postgres credentials POSTGRES = {}