mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
Explain subtle part in README Caddyfile
This commit is contained in:
parent
d6e79865f7
commit
6a205a1e43
@ -51,7 +51,7 @@ route {
|
|||||||
file_server { root /var/www/html }
|
file_server { root /var/www/html }
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
This is Caddy 2 syntax. It is not the same with Caddy 1.
|
`:443` must appear first for this Caddyfile to work. For more advanced usage consider using JSON for Caddy 2's config.
|
||||||
|
|
||||||
Locally run `./naive` with the following `config.json` to get a SOCKS5 proxy at local port 1080.
|
Locally run `./naive` with the following `config.json` to get a SOCKS5 proxy at local port 1080.
|
||||||
```json
|
```json
|
||||||
|
Loading…
Reference in New Issue
Block a user