mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2026-06-23 04:10:17 +00:00
fix(caddy): use hostname instead of ip
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
@@ -12,9 +12,9 @@ log {
|
||||
format console
|
||||
}
|
||||
|
||||
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}
|
||||
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}
|
||||
|
||||
Reference in New Issue
Block a user