mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-21 08:39:01 +01: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
|
||||
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;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user