docs about local_http

This commit is contained in:
SuperMaxusa 2025-04-07 21:45:54 +03:00 committed by Fabian
parent b0b5fbee12
commit 5e16fa3d7b

View file

@ -62,6 +62,7 @@ Backends `fetch` and `wisp` support a couple of special settings in `config.net_
| **dns_method** | str | DNS method to use, either `static` or `doh`. `static`: use built-in DNS server, `doh`: use [DNS-over-HTTPS](https://en.wikipedia.org/wiki/DNS_over_HTTPS) (DoH). Defaults to `static` for `fetch` and to `doh` for `wisp` backend. |
| **doh_server** | str | Host name or IP address (and optional port number) of the DoH server if `dns_method` is `doh`. The value is expanded to the URL `https://DOH_SERVER/dns-query`. Default: `cloudflare-dns.com`. |
| **cors_proxy** | str | CORS proxy server URL, do not use a proxy if undefined. Default: undefined (`fetch` backend only). |
| **local_http** | bool | Allow HTTP access from the guest to the host's `localhost` using the URL `http://<port>.v86local.http` (e.g. `1234.v86local.http` -> `localhost:1234`). Default: `False` (`fetch` backend only). |
#### Example `net_device` settings