Add api-origin to example config

If the service is not behind a reverse proxy (e.g. during local
development/testing) then this is needed by meta.sr.ht for API discovery
for all services that have a seperate API component. Add this (commented
out) to the example config, to make it easier to discover (and
require less documentation).
This commit is contained in:
Conrad Hoffmann 2022-05-09 10:11:30 +02:00 committed by Drew DeVault
parent b779d41133
commit 833e2a5588
1 changed files with 5 additions and 0 deletions

View File

@ -103,6 +103,11 @@ notify-from=CHANGEME@example.org
#
# The redis connection used for the webhooks worker
webhooks=redis://localhost:6379/1
#
# Origin URL for the API
# Only needed if not run behind a reverse proxy, e.g. for local development.
# By default, the API port is 100 more than the web port
#api-origin=http://localhost:5103
[todo.sr.ht::mail]
#