mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-04-19 23:11:22 +02:00
fix tls-alpn-01 configuration example
This commit is contained in:
committed by
Lukas Schauer
parent
e119d9136b
commit
42a0fc9a5e
@@ -15,18 +15,16 @@ 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;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443;
|
listen 443;
|
||||||
listen [::]:443;
|
listen [::]:443;
|
||||||
proxy_pass 10.13.37.42:$tls_port;
|
proxy_pass 10.13.37.42:$tls_port;
|
||||||
ssl_preread on;
|
ssl_preread on;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user