Specifying an http proxy with spring-boot

前端 未结 4 2184
没有蜡笔的小新
没有蜡笔的小新 2021-01-03 00:08

How do I specify a http proxy to use when running a spring-boot fat war as a tomcat server?

I have tried the following which is not working.

java -ja         


        
4条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-03 00:31

    I've found that I need -Dhttps.proxySet=true in order for the proxy config to actually be used.

提交回复
热议问题