2022-06-18 12:40:28 -04:00
|
|
|
#
|
|
|
|
# SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
#
|
|
|
|
|
2023-03-25 11:19:31 -04:00
|
|
|
{$HD_BASE_URL}
|
2022-06-18 12:40:28 -04:00
|
|
|
|
|
|
|
log {
|
|
|
|
output stdout
|
2022-12-11 18:46:30 -05:00
|
|
|
level WARN
|
|
|
|
format console
|
2022-06-18 12:40:28 -04:00
|
|
|
}
|
|
|
|
|
2023-03-25 11:19:31 -04: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}
|