default https redirect
This commit is contained in:
parent
627b2e9606
commit
c42da7c0a6
1 changed files with 2 additions and 1 deletions
|
|
@ -139,13 +139,14 @@
|
|||
prev: name: value:
|
||||
prev + "acl is_${name} hdr(host) -i ${value.domain}\n"
|
||||
) "" forwards}
|
||||
acl is_acme path_beg /.well-known/acme-challenge/
|
||||
|
||||
${lib.foldlAttrs (
|
||||
prev: name: value:
|
||||
prev + "use_backend ${name}_80 if is_${name}\n"
|
||||
) "" forwards}
|
||||
|
||||
default_backend plone_80
|
||||
http-request redirect scheme https code 301 if !is_acme
|
||||
|
||||
|
||||
frontend ssh_jump_alt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue