fix: correct nginx proxy port to Vaultwarden's port 80

This commit is contained in:
2026-04-02 15:25:56 +08:00
parent 4b7a1f2bcf
commit 11af6bf3f2
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ data:
# Forward all other requests to Vaultwarden # Forward all other requests to Vaultwarden
location / { location / {
proxy_pass http://127.0.0.1:3000; proxy_pass http://127.0.0.1:80;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View File

@@ -25,7 +25,7 @@ spec:
memory: "512Mi" memory: "512Mi"
cpu: "500m" cpu: "500m"
ports: ports:
- containerPort: 3000 - containerPort: 80
env: env:
- name: WEBSOCKET_ENABLED - name: WEBSOCKET_ENABLED
value: "true" value: "true"
@@ -40,7 +40,7 @@ spec:
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /alive path: /alive
port: 3000 port: 80
initialDelaySeconds: 30 initialDelaySeconds: 30
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 5 timeoutSeconds: 5
@@ -48,7 +48,7 @@ spec:
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /alive path: /alive
port: 3000 port: 80
initialDelaySeconds: 5 initialDelaySeconds: 5
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 5 timeoutSeconds: 5