docs: fix words
This commit is contained in:
parent
5cd79e64a1
commit
9dacde2c22
@ -64,7 +64,7 @@ you need to use either one.
|
|||||||
|
|
||||||
And no, using transparent proxies doesn't help.
|
And no, using transparent proxies doesn't help.
|
||||||
|
|
||||||
And then I just came across an old technologiy called [Proxy Auto-Configuration](https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_PAC_file)
|
And then I just came across an old technology called [Proxy Auto-Configuration](https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_PAC_file)
|
||||||
which is the title of this post. The concept is actually simple: a PAC is just a JavaScript file that calls a `FindProxyForURL` function that returns a single string. The minimal
|
which is the title of this post. The concept is actually simple: a PAC is just a JavaScript file that calls a `FindProxyForURL` function that returns a single string. The minimal
|
||||||
script is something like this:
|
script is something like this:
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ Now, here is the strategy:
|
|||||||
|
|
||||||
Actually I can use `mac-mini` instead of `127.0.0.1` as the hostname so I can use the PAC file everywhere using the same URL.
|
Actually I can use `mac-mini` instead of `127.0.0.1` as the hostname so I can use the PAC file everywhere using the same URL.
|
||||||
|
|
||||||
In every VM I use [`gost`](https://github.com/ginuerzh/gost) as SOCKS5 server. I can create a simple systemd service for it `gost` like this:
|
In every VM I use [`gost`](https://github.com/ginuerzh/gost) as SOCKS5 server. I can create a simple systemd service for `gost` like this:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
systemd.services.gost = {
|
systemd.services.gost = {
|
||||||
|
Loading…
Reference in New Issue
Block a user