mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
完善配置
This commit is contained in:
@@ -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/;
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user