Specifying an http proxy with spring-boot

前端 未结 4 2161
没有蜡笔的小新
没有蜡笔的小新 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:42

    need to add for authenticating proxy server

    -Dhttp.proxyUser=**username**
    -Dhttp.proxyPassword=**password**
    

提交回复
热议问题