redirect to https
This commit is contained in:
parent
62dae378a5
commit
c8aa798e27
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ frontend web
|
|||
bind :443 ssl crt /certificates strict-sni
|
||||
|
||||
http-request return status 200 content-type text/plain lf-string "%[path,field(-1,/)].${ACCOUNT_THUMBPRINT}\n" if { path_beg '/.well-known/acme-challenge/' }
|
||||
http-request redirect scheme https code 301 unless { ssl_fc }
|
||||
|
||||
http-request set-header X-Forwarded-Protocol https
|
||||
http-request set-header X-Forwarded-Proto https
|
||||
|
|
Loading…
Add table
Reference in a new issue