We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d73cae2 commit 37e8ca9Copy full SHA for 37e8ca9
Caddyfile
@@ -6,7 +6,7 @@
6
encode zstd gzip
7
8
handle_path /api/* {
9
- reverse_proxy traq-ing-server:8080
+ reverse_proxy {$SERVER_ORIGIN}
10
}
11
12
route {
docker-compose.yaml
@@ -13,6 +13,8 @@ services:
13
watch:
14
- path: ./Caddyfile
15
action: rebuild
16
+ environment:
17
+ - SERVER_ORIGIN=traq-ing-server:8080
18
traq-ing-server:
19
container_name: traq-ing-server
20
build:
0 commit comments