songlongkuan commented on issue #377:
URL:
https://github.com/apache/rocketmq-dashboard/issues/377#issuecomment-3578813804
nginx 反向代理后就有这个毛病,解决方案:
proxy_set_header Origin "";
来,上完整的配置
`
server {
listen 80;
server_name rocketmq.xxx.com;
error_log /var/log/nginx/rocketmq.error.log error;
access_log /var/log/nginx/rocketmq._ccess.log combined;
location / {
proxy_pass http://127.0.0.1:8082;
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 Origin "";
}
}
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]