personium / personium-ex-httpclient

An engine extension to enable HTTP request from server-side script.
Apache License 2.0
0 stars 8 forks source link

Documentation of proxy settings is missing. #28

Open tochi-y opened 5 years ago

tochi-y commented 5 years ago

Proxy is supported in the source code. https://github.com/personium/personium-ex-httpclient/blob/c59098a8163f943f1d0816667e971b3651419da1/src/main/java/io/personium/engine/extension/httpclient/Ext_HttpClient.java#L507-L508

But the documentation is missing. Then, I confirmed that adding following configurations to /opt/tomcat/conf/catalina.properties is properly worked.

# Proxy configuration.
java.net.useSystemProxies=true
http.nonProxyHosts=localhost|127.*|[::1]|*.personium.example
http.proxyHost=<ProxyHost>
http.proxyPort=<ProxyPort>
http.proxyUser=<ProxyUser>
http.proxyPassword=<ProxyPassword>
https.nonProxyHosts=localhost|127.*|[::1]|*.personium.example
https.proxyHost=<ProxyHost>
https.proxyPort=<ProxyPort>
https.proxyUser=<ProxyUser>
https.proxyPassword=<ProxyPassword>

This proxy configuration should be written in the documentation.