fix(auth): serve unified frontend from nginx

This commit is contained in:
mac
2026-07-15 11:54:25 +08:00
parent 8d67ba7810
commit e212c0cd76
2 changed files with 19 additions and 2 deletions
+4 -2
View File
@@ -10,6 +10,8 @@ data:
server_name _;
client_max_body_size 10m;
root /usr/share/nginx/html;
index index.html;
location = /healthz {
proxy_pass ${AUTHSERVER_BACKEND_UPSTREAM};
@@ -79,7 +81,7 @@ data:
}
location / {
return 404;
try_files $uri $uri/ /index.html;
}
}
---
@@ -100,7 +102,7 @@ spec:
spec:
containers:
- name: nginx
image: nginx:1.29-alpine
image: docker.io/library/authserver-nginx:1.2.3
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80