Simplify Docker build workflow and update routing rules
This commit is contained in:
11
adc.yaml
11
adc.yaml
@@ -17,7 +17,7 @@ services:
|
||||
vars:
|
||||
- - uri
|
||||
- "~~"
|
||||
- "^(?!/api|/docs)"
|
||||
- "^(?!/api)"
|
||||
priority: 1
|
||||
plugins:
|
||||
redirect:
|
||||
@@ -35,15 +35,6 @@ services:
|
||||
port: 80
|
||||
weight: 100
|
||||
routes:
|
||||
- name: nginx-api-docs-route
|
||||
uris:
|
||||
- /docs
|
||||
- /docs/*
|
||||
priority: 30
|
||||
plugins:
|
||||
redirect:
|
||||
http_to_https: true
|
||||
|
||||
- name: nginx-api-llm-route
|
||||
uris:
|
||||
- /api/llm
|
||||
|
||||
Reference in New Issue
Block a user