mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-07-07 13:35:29 +02:00
fix tls-alpn-01 configuration example
This commit is contained in:
committed by
Lukas Schauer
parent
e119d9136b
commit
42a0fc9a5e
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user