hedgedoc/dev-reverse-proxy/Caddyfile
David Mehren dc1d5b5192 fix(caddy-config) Proxy /uploads to backend
Signed-off-by: David Mehren <git@herrmehren.de>
2022-12-30 11:02:56 +01:00

17 lines
374 B
Caddyfile

#
# SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
#
# SPDX-License-Identifier: AGPL-3.0-only
#
:8080
log {
output stdout
}
reverse_proxy /realtime http://127.0.0.1:3000
reverse_proxy /api/* http://127.0.0.1:3000
reverse_proxy /public/* http://127.0.0.1:3000
reverse_proxy /uploads/* http://127.0.0.1:3000
reverse_proxy /* http://127.0.0.1:3001