mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
fix: Move content into to frontend directory
Doing this BEFORE the merge prevents a lot of merge conflicts. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
4e18ce38f3
commit
762a0a850e
1051 changed files with 0 additions and 35 deletions
5
frontend/dev-reverse-proxy/.gitignore
vendored
Normal file
5
frontend/dev-reverse-proxy/.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
# SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
||||
#
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
caddy
|
16
frontend/dev-reverse-proxy/Caddyfile
Normal file
16
frontend/dev-reverse-proxy/Caddyfile
Normal file
|
@ -0,0 +1,16 @@
|
|||
#
|
||||
# SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
#
|
||||
|
||||
:8080
|
||||
|
||||
log {
|
||||
output stdout
|
||||
}
|
||||
|
||||
reverse_proxy /realtime http://127.0.0.1:3000
|
||||
reverse_proxy /api/* http://127.0.0.1:3000
|
||||
reverse_proxy /public/* http://127.0.0.1:3000
|
||||
reverse_proxy /* http://127.0.0.1:3001
|
16
frontend/dev-reverse-proxy/run-caddy.sh
Normal file
16
frontend/dev-reverse-proxy/run-caddy.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
if [ ! -f caddy ]
|
||||
then
|
||||
curl -o caddy "https://caddyserver.com/api/download"
|
||||
chmod +x ./caddy
|
||||
fi
|
||||
|
||||
exec ./caddy run
|
Loading…
Add table
Add a link
Reference in a new issue