Fix alt-svc
This commit is contained in:
parent
c94f486e3e
commit
73f3f241a0
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ proxy_set_header Proxy "";
|
|||
{{ $enable_ipv6 := eq (or ($.Env.ENABLE_IPV6) "") "true" }}
|
||||
{{ $http2 := (or (and (not $.Env.DISABLE_HTTP2) "http2") "") }}
|
||||
{{ $enable_http3 := eq (or ($.Env.ENABLE_HTTP3) "") "true" }}
|
||||
{{ $alt_svc := or ($.Env.ALT_SVC) "h3-28=\":" $external_https_port "\"; ma=86400, h3-29=\":" $external_https_port "\"; ma=86400" }}
|
||||
{{ $alt_svc := or ($.Env.ALT_SVC) (print "h3-28=\":" $external_https_port "\"; ma=86400, h3-29=\":" $external_https_port "\"; ma=86400") }}
|
||||
|
||||
server {
|
||||
server_name _; # This is just an invalid value which will never trigger on a real hostname.
|
||||
|
|
|
|||
Loading…
Reference in a new issue