1
This commit is contained in:
@@ -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/;
|
||||
|
||||
Reference in New Issue
Block a user