mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
af5754bcab
* Fix dev workflow. * Fix dev workflow. * Cover Remote-User and Remote-Groups using Traefik. * Cover Remote-User and Remote-Groups using HAProxy. * Fix redirection after unauthorized response when using HAProxy. Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
9 lines
323 B
Docker
9 lines
323 B
Docker
FROM haproxy:2.1-alpine
|
|
|
|
RUN \
|
|
apk add --no-cache \
|
|
curl \
|
|
lua5.3-socket \
|
|
openssl && \
|
|
openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj "/C=AU/ST=Victoria/L=Melbourne/O=Authelia/CN=*.example.com" -keyout haproxy.key -out haproxy.crt && \
|
|
cat haproxy.key haproxy.crt > /usr/local/etc/haproxy/haproxy.pem |