[core] Unix upstreams, tests first: unix:/path reaches both engines (edge address, Caddy dial), the path is strict, forward-auth never goes to a socket (red: not parsed yet)
This commit is contained in:
@@ -37,6 +37,12 @@ fn template(code: &str) -> &'static str {
|
||||
}
|
||||
"host.upstream.not_url" => "Write it as a full address, like http://10.0.0.23:3000.",
|
||||
"host.upstream.scheme" => "Start the address with http:// or https://.",
|
||||
"host.upstream.unix_path" => {
|
||||
"Write a socket as unix:/absolute/path.sock, with letters, digits, dots, dashes and underscores only."
|
||||
}
|
||||
"host.upstream.unix_socket" => {
|
||||
"Only the web UI's admin host can use a socket, and only control's own ([ui] socket in control.toml)."
|
||||
}
|
||||
"host.upstream.no_host" => "Add the server's name or IP address after http://.",
|
||||
"host.upstream.host_name" => {
|
||||
"The server name is not usable. Use letters a–z, digits, dots and dashes, or an IP address."
|
||||
|
||||
Reference in New Issue
Block a user