Commit f3bda4e2 authored by Kunkka王辉's avatar Kunkka王辉 😲

feat: 修复

parent c3331fdc
......@@ -267,8 +267,8 @@ server {
location ^~ /api/smarterApi/ {
rewrite ^/api/smarterApi/(.*)$ /api/\$1 last;
proxy_pass http://$HOST:$GALAXY_CRM_API_HTTP_PORT;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-Ip $remote_addr;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Real-Ip \$remote_addr;
proxy_set_header X-Ngnix-Proxy true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment