This commit is contained in:
CC
2025-11-05 13:27:52 +08:00
parent 2fab612906
commit 855d22f448
8 changed files with 275 additions and 21 deletions
+1 -18
View File
@@ -63,24 +63,7 @@ server {
proxy_read_timeout 600s;
}
# Swagger API文档代理(如果需要)
location /v3/api-docs/ {
proxy_pass http://127.0.0.1:30313/v3/api-docs/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# Swagger UI代理(如果需要)
location /swagger-ui/ {
proxy_pass http://127.0.0.1:30313/swagger-ui/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# Druid监控代理(如果需要)
location /druid/ {
proxy_pass http://127.0.0.1:30313/druid/;