Expose rdsys-telegram http endpoints in polyanthum
I just deployed the bridges telegram bot as part of rdsys in polyanthum. This service listens to localhost:7600 two http endpoints that we need reachable from ourside:
-
/metrics
that exports prometheus metrics and we'll like to connect it to our prometheus. This is already working. -
/update
that will be contacted from outside by our dynamic bridges providers to update the list of bridges. This is not implemented yet, but I'm planning to do do it in the next days (tpo/anti-censorship/rdsys#98 (closed))
I'm proposing to export them as /rdsys-telegram-metrics
and /rdsys-telegram-update
. So /etc/apache2/sites-available/bridges.torproject.org will get the following lines:
ProxyPass /rdsys-telegram-metrics http://127.0.0.1:7600/metrics
ProxyPass /rdsys-telegram-update http://127.0.0.1:7600/update