2022-06-18 16:40:28 +00:00
|
|
|
#
|
|
|
|
# SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
#
|
|
|
|
|
2023-03-25 15:19:31 +00:00
|
|
|
{$HD_BASE_URL}
|
2022-06-18 16:40:28 +00:00
|
|
|
|
|
|
|
log {
|
|
|
|
output stdout
|
2022-12-11 23:46:30 +00:00
|
|
|
level WARN
|
|
|
|
format console
|
2022-06-18 16:40:28 +00:00
|
|
|
}
|
|
|
|
|
2023-08-27 19:52:25 +00:00
|
|
|
reverse_proxy /realtime http://localhost:{$HD_BACKEND_PORT:3000}
|
|
|
|
reverse_proxy /api/* http://localhost:{$HD_BACKEND_PORT:3000}
|
|
|
|
reverse_proxy /public/* http://localhost:{$HD_BACKEND_PORT:3000}
|
|
|
|
reverse_proxy /uploads/* http://localhost:{$HD_BACKEND_PORT:3000}
|
|
|
|
reverse_proxy /apidoc/* http://localhost:{$HD_BACKEND_PORT:3000}
|
|
|
|
reverse_proxy /* http://localhost:{$HD_FRONTEND_PORT:3001}
|