fix tls-alpn-01 configuration example

This commit is contained in:
Jason Francis
2020-05-14 14:45:54 -04:00
committed by Lukas Schauer
parent e119d9136b
commit 42a0fc9a5e
-2
View File
@@ -15,7 +15,6 @@ Your config should look something like this:
```nginx ```nginx
stream { stream {
server {
map $ssl_preread_alpn_protocols $tls_port { map $ssl_preread_alpn_protocols $tls_port {
~\bacme-tls/1\b 10443; ~\bacme-tls/1\b 10443;
default 443; default 443;
@@ -28,7 +27,6 @@ stream {
ssl_preread on; ssl_preread on;
} }
} }
}
``` ```
That way https requests are forwarded to port 443 on the backend server, and acme-tls/1 requests are That way https requests are forwarded to port 443 on the backend server, and acme-tls/1 requests are