NAS 정식 스택과 배포 파이프라인 도구를 고정
This commit is contained in:
parent
f1b80676c1
commit
d6d9dc5f61
8 changed files with 812 additions and 1 deletions
22
infra/Caddyfile.nas
Normal file
22
infra/Caddyfile.nas
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
admin off
|
||||
auto_https off
|
||||
}
|
||||
|
||||
:80 {
|
||||
@voice path /api/voice/ws*
|
||||
reverse_proxy @voice api:8000
|
||||
|
||||
@sse path /api/*/stream*
|
||||
reverse_proxy @sse api:8000 {
|
||||
flush_interval -1
|
||||
}
|
||||
|
||||
handle_path /api/* {
|
||||
reverse_proxy api:8000
|
||||
}
|
||||
|
||||
handle {
|
||||
reverse_proxy web:80
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue