|
|
|
@@ -11,7 +11,7 @@ http { |
|
|
|
keepalive_timeout 65; |
|
|
|
|
|
|
|
server { |
|
|
|
listen 80; |
|
|
|
listen 8000; |
|
|
|
server_name localhost; |
|
|
|
|
|
|
|
location / { |
|
|
|
@@ -20,12 +20,12 @@ http { |
|
|
|
index index.html index.htm; |
|
|
|
} |
|
|
|
|
|
|
|
location /prod-api/{ |
|
|
|
location /api/{ |
|
|
|
proxy_set_header Host $http_host; |
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
proxy_set_header REMOTE-HOST $remote_addr; |
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
|
|
proxy_pass http://ruoyi-gateway:8080/; |
|
|
|
proxy_pass http://ci4s-gateway-service.ci4s-test.svc:8082/; |
|
|
|
} |
|
|
|
|
|
|
|
# 避免actuator暴露 |
|
|
|
|