zK0G0w commented on issue #382:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/382#issuecomment-4096060289

   > I added `server.forward-headers-strategy: framework` config to 
`application.yml`, it's work for me.我在 application.yml 中添加了 
server.forward-headers-strategy: framework 配置,这对我有效。
   > 
   > Here is my NGINX config:这是我的 NGINX 配置:
   > 
   > ```
   >         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;
   >         proxy_http_version 1.1;
   >         proxy_set_header Upgrade            $http_upgrade;
   >         proxy_set_header Connection         "upgrade";
   > ```
   
   thank u ,it is useful, btw if u run the dashboard by docker, add this env:
   -Dserver.forward-headers-strategy=framework


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