mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
parent
545c856311
commit
69264a21e6
@ -43,9 +43,7 @@ Example Caddyfile (replace `user` and `pass` accordingly):
|
|||||||
```
|
```
|
||||||
{
|
{
|
||||||
servers {
|
servers {
|
||||||
protocol {
|
protocols h1 h2 h3
|
||||||
experimental_http3
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
:443, example.com
|
:443, example.com
|
||||||
@ -57,7 +55,9 @@ route {
|
|||||||
hide_via
|
hide_via
|
||||||
probe_resistance
|
probe_resistance
|
||||||
}
|
}
|
||||||
file_server { root /var/www/html }
|
file_server {
|
||||||
|
root /var/www/html
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
`:443` must appear first for this Caddyfile to work. For more advanced usage consider using [JSON for Caddy 2's config](https://caddyserver.com/docs/json/).
|
`:443` must appear first for this Caddyfile to work. For more advanced usage consider using [JSON for Caddy 2's config](https://caddyserver.com/docs/json/).
|
||||||
|
Loading…
Reference in New Issue
Block a user