From 400b9faca285c759bc7b60cb9e0a1dc1da497198 Mon Sep 17 00:00:00 2001 From: Mingyu Song <100754581+mikekks@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:59:36 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20=EB=9D=BC=EC=9A=B0=ED=8C=85=20=EA=B7=9C?= =?UTF-8?q?=EC=B9=99=20=ED=8E=B8=EC=A7=91=20(#246)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9da67955..73adf8a1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -136,12 +136,14 @@ services: caddy.route_5.reverse_proxy: "{{ upstreams 4000 }}" caddy.route_6: /post/v2 caddy.route_6.reverse_proxy: "{{ upstreams 4000 }}" - caddy.route_7: /comment/v2 + caddy.route_7: /post/v2/* caddy.route_7.reverse_proxy: "{{ upstreams 4000 }}" - caddy.route_8: /comment/v2/* + caddy.route_8: /comment/v2 caddy.route_8.reverse_proxy: "{{ upstreams 4000 }}" - caddy.route_9: /notice/v2 + caddy.route_9: /comment/v2/* caddy.route_9.reverse_proxy: "{{ upstreams 4000 }}" + caddy.route_10: /notice/v2 + caddy.route_10.reverse_proxy: "{{ upstreams 4000 }}" nestjs-blue: image: makerscrew/server:latest @@ -231,12 +233,14 @@ services: caddy.route_5.reverse_proxy: "{{ upstreams 4000 }}" caddy.route_6: /post/v2 caddy.route_6.reverse_proxy: "{{ upstreams 4000 }}" - caddy.route_7: /comment/v2 + caddy.route_7: /post/v2/* caddy.route_7.reverse_proxy: "{{ upstreams 4000 }}" - caddy.route_8: /comment/v2/* + caddy.route_8: /comment/v2 caddy.route_8.reverse_proxy: "{{ upstreams 4000 }}" - caddy.route_9: /notice/v2 + caddy.route_9: /comment/v2/* caddy.route_9.reverse_proxy: "{{ upstreams 4000 }}" + caddy.route_10: /notice/v2 + caddy.route_10.reverse_proxy: "{{ upstreams 4000 }}" networks: caddy: