Skip to content

Commit

Permalink
Updated to HAProxy version 2.2 from current PRs amazeeio#6 and amazee…
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean committed Apr 28, 2021
1 parent efff9bc commit e3b573b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,4 +1,4 @@
FROM haproxy:1.7-alpine
FROM haproxy:2.2-alpine

RUN apk update && apk --no-cache add bash

Expand Down
2 changes: 1 addition & 1 deletion haproxy.tmpl
Expand Up @@ -49,7 +49,7 @@ frontend http
frontend https
mode http
bind *:443 ssl crt /app/server.pem
reqadd X-Forwarded-Proto:\ https
http-request add-header X-Forwarded-Proto https
option socket-stats
{{range $key, $container := whereExist $ "Env.AMAZEEIO" }}
{{$host := coalesce $container.Env.AMAZEEIO_URL $container.Name }}
Expand Down

0 comments on commit e3b573b

Please sign in to comment.