mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 02:06:29 -05:00
180ab897ec
Signed-off-by: David Mehren <git@herrmehren.de>
20 lines
446 B
Caddyfile
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
|