Skip to content

Commit

Permalink
env: 라우팅 규칙 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
rdd9223 committed Jan 28, 2024
1 parent 0081c1d commit 61eb0f4
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ services:
caddy.route_2.reverse_proxy: "{{ upstreams 4000 }}"
caddy.route_3: /user/v2/*
caddy.route_3.reverse_proxy: "{{ upstreams 4000 }}"
caddy.route_4: /meeting/v2/*
caddy.route_4.reverse_proxy: "{{ upstreams 4000 }}"

nestjs:
build:
Expand Down Expand Up @@ -99,7 +101,7 @@ services:
caddy.route_4.reverse_proxy: "{{ upstreams 3000 }}"
caddy.route_5: /meeting
caddy.route_5.reverse_proxy: "{{ upstreams 3000 }}"
caddy.route_6: /meeting/*
caddy.route_6: /meeting/v1/*
caddy.route_6.reverse_proxy: "{{ upstreams 3000 }}"
caddy.route_7: /notice/v1
caddy.route_7.reverse_proxy: "{{ upstreams 3000 }}"
Expand All @@ -113,6 +115,14 @@ services:
caddy.route_11.reverse_proxy: "{{ upstreams 3000 }}"
caddy.route_12: /users/*
caddy.route_12.reverse_proxy: "{{ upstreams 3000 }}"
caddy.route_13: ^/meeting/\d+/apply/status&
caddy.route_13.reverse_proxy: "{{ upstreams 3000 }}"
caddy.route_14: ^/meeting/\d+/list&
caddy.route_14.reverse_proxy: "{{ upstreams 3000 }}"
caddy.route_15: ^/meeting/apply&
caddy.route_15.reverse_proxy: "{{ upstreams 3000 }}"
caddy.route_16: ^/meeting/\d+&
caddy.route_16.reverse_proxy: "{{ upstreams 3000 }}"

networks:
caddy:
Expand Down

0 comments on commit 61eb0f4

Please sign in to comment.