hedgedoc/docker/Caddyfile
David Mehren 180ab897ec docs: add docker compose deployment
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-25 13:05:42 +01:00

20 lines
446 B
Caddyfile

#
# SPDX-FileCopyrightText: 2023 The HedgeDoc developers (see AUTHORS file)
#
# SPDX-License-Identifier: AGPL-3.0-only
#
{$HD_BASE_URL}
log {
output stdout
level WARN
format console
}
reverse_proxy /realtime http://backend:3000
reverse_proxy /api/* http://backend:3000
reverse_proxy /public/* http://backend:3000
reverse_proxy /uploads/* http://backend:3000
reverse_proxy /apidoc/* http://backend:3000
reverse_proxy /* http://frontend:3001