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-03-25 15:19:31 +00:00
|
|
|
reverse_proxy /realtime http://127.0.0.1:{$HD_BACKEND_PORT:3000}
|
|
|
|
reverse_proxy /api/* http://127.0.0.1:{$HD_BACKEND_PORT:3000}
|
|
|
|
reverse_proxy /public/* http://127.0.0.1:{$HD_BACKEND_PORT:3000}
|
|
|
|
reverse_proxy /uploads/* http://127.0.0.1:{$HD_BACKEND_PORT:3000}
|
|
|
|
reverse_proxy /apidoc/* http://127.0.0.1:{$HD_BACKEND_PORT:3000}
|
|
|
|
reverse_proxy /* http://127.0.0.1:{$HD_FRONTEND_PORT:3001}
|