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

View File

@@ -15,18 +15,16 @@ Your config should look something like this:
```nginx
stream {
server {
map $ssl_preread_alpn_protocols $tls_port {
~\bacme-tls/1\b 10443;
default 443;
}
map $ssl_preread_alpn_protocols $tls_port {
~\bacme-tls/1\b 10443;
default 443;
}
server {
listen 443;
listen [::]:443;
proxy_pass 10.13.37.42:$tls_port;
ssl_preread on;
}
server {
listen 443;
listen [::]:443;
proxy_pass 10.13.37.42:$tls_port;
ssl_preread on;
}
}
```