mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 09:16:30 -05:00
fix(caddy): use hostname instead of ip
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
59bca4a81f
commit
dc48d52d75
1 changed files with 6 additions and 6 deletions
|
@ -12,9 +12,9 @@ log {
|
||||||
format console
|
format console
|
||||||
}
|
}
|
||||||
|
|
||||||
reverse_proxy /realtime http://127.0.0.1:{$HD_BACKEND_PORT:3000}
|
reverse_proxy /realtime http://localhost:{$HD_BACKEND_PORT:3000}
|
||||||
reverse_proxy /api/* http://127.0.0.1:{$HD_BACKEND_PORT:3000}
|
reverse_proxy /api/* http://localhost:{$HD_BACKEND_PORT:3000}
|
||||||
reverse_proxy /public/* http://127.0.0.1:{$HD_BACKEND_PORT:3000}
|
reverse_proxy /public/* http://localhost:{$HD_BACKEND_PORT:3000}
|
||||||
reverse_proxy /uploads/* http://127.0.0.1:{$HD_BACKEND_PORT:3000}
|
reverse_proxy /uploads/* http://localhost:{$HD_BACKEND_PORT:3000}
|
||||||
reverse_proxy /apidoc/* http://127.0.0.1:{$HD_BACKEND_PORT:3000}
|
reverse_proxy /apidoc/* http://localhost:{$HD_BACKEND_PORT:3000}
|
||||||
reverse_proxy /* http://127.0.0.1:{$HD_FRONTEND_PORT:3001}
|
reverse_proxy /* http://localhost:{$HD_FRONTEND_PORT:3001}
|
||||||
|
|
Loading…
Reference in a new issue