Skip to content

Commit abaf534

Browse files
authored
Add section on how to use proxy server
Since it's not as intuitive as it could be with Java ;-)
1 parent 5ae8468 commit abaf534

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/Advanced Configuration/Other Customisations.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,12 @@ system:
2222
enableAnalytics: 'true'
2323
```
2424
In configs/Settings.yml
25+
26+
### Using an outgoing HTTP(S) proxy
27+
To make Stirling PDF use an outgoing proxy server (e.g. for checking the license validity), the `JAVA_CUSTOM_OPTS` environment variable need to be used to set some Java properties:
28+
```
29+
-Dhttp.proxyHost=proxyserver -Dhttp.proxyPort=8888
30+
-Dhttp.nonProxyHosts="localhost|127.0.0.1|127.0.1.1|127.0.0.0/8|::1|10.0.0.0/8|.svc|.cluster.local"
31+
-Dhttps.proxyHost=proxyserver -Dhttps.proxyPort=888
32+
-Dhttps.nonProxyHosts="localhost|127.0.0.1|127.0.1.1|127.0.0.0/8|::1|10.0.0.0/8|.svc|.cluster.local"
33+
```

0 commit comments

Comments
 (0)