Simplify Docker build workflow and update routing rules
This commit is contained in:
@@ -27,7 +27,7 @@ data:
|
||||
vars:
|
||||
- - uri
|
||||
- "~~"
|
||||
- "^(?!/api|/docs)"
|
||||
- "^(?!/api)"
|
||||
priority: 1
|
||||
plugins:
|
||||
{{- if .Values.api7.tls.enabled }}
|
||||
@@ -47,17 +47,6 @@ data:
|
||||
port: 80
|
||||
weight: 100
|
||||
routes:
|
||||
- name: nginx-api-docs-route
|
||||
uris:
|
||||
- /docs
|
||||
- /docs/*
|
||||
priority: 30
|
||||
plugins:
|
||||
{{- if .Values.api7.tls.enabled }}
|
||||
redirect:
|
||||
http_to_https: true
|
||||
{{- end }}
|
||||
|
||||
- name: nginx-api-llm-route
|
||||
uris:
|
||||
- /api/llm
|
||||
|
||||
Reference in New Issue
Block a user