Skip to content

Commit 928e6cd

Browse files
author
Uwe Grawert
committed
Add documentation for proxy settings
1 parent ece54f3 commit 928e6cd

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,24 @@ docker run --rm -ti \
4444
-e "URL=${URL}" \
4545
ugrawert/firefox-java
4646
```
47+
48+
## Proxy settings
49+
50+
To configure global proxy settings for Firefox, place and adjust the following
51+
content into your working directory.
52+
53+
proxy.js:
54+
55+
```javascript
56+
pref("network.proxy.http", "proxy.server.local");
57+
pref("network.proxy.http_port", 8080);
58+
pref("network.proxy.ssl", "proxy.server.local");
59+
pref("network.proxy.ssl_port", 8080);
60+
pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, *.server.local");
61+
pref("network.proxy.type", 1);
62+
pref("network.proxy.share_proxy_settings", true);
63+
```
64+
65+
```sh
66+
docker run -v "$PWD/proxy.js:/etc/firefox/pref/proxy.js" ..
67+
```

0 commit comments

Comments
 (0)