YongYang
Results
1
comments of
YongYang
你的配置 proxy_pass http://up_jmreport; getScheme()会取到http  nginx 配置下面两个选一个 配置X_GATEWAY_BASE_PATH 如: proxy_set_header X_GATEWAY_BASE_PATH /; (这样就会继承前端页面的host) 配置 X-Forwarded-Scheme 为https . 如下: proxy_set_header X-Forwarded-Scheme https; 改变的起始就是这里的domianURL 