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-08-27 15:52:25 -04: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}
|
2024-06-12 12:45:49 -04:00
|
|
|
reverse_proxy /media/* http://localhost:{$HD_BACKEND_PORT:3000}
|
2023-08-27 15:52:25 -04:00
|
|
|
reverse_proxy /* http://localhost:{$HD_FRONTEND_PORT:3001}
|