kauth-coder commented on issue #410:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/410#issuecomment-4540763828

   如果你是 nginx 直接反向代理的话  更简单了 
   ```
   server {
       listen 80;
       server_name localhost;
   
       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 X-Forwarded-Proto $scheme;
   
           # 覆写指定 Header
           proxy_set_header Origin "http://localhost:3003";;
           proxy_set_header Referer "http://localhost:3003";;
       }
   }
   ```


-- 
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]

Reply via email to