完善配置

This commit is contained in:
2023-08-14 10:05:57 +08:00
parent e99f992999
commit 8aa6f9f2ae

View File

@@ -39,23 +39,17 @@ patchesStrategicMerge:
metadata:
name: nginx-conf
data:
default.conf: |
default.conf: |-
server {
listen 80;
listen [::]:80;
server_name _;
#access_log /var/log/nginx/host.access.log main;
server_name _;
location / {
proxy_pass http://coal-ui.coal-master.svc.cluster.local/;
}
location /api/ {
proxy_set_header X-Forwarded-Prefix '/api';
proxy_pass http://coal-api.coal-master.svc.cluster.local:7456/;
}
}