내 목표는 내 서버에 역방향 프록시를 설정하고 싶습니다. 나는이 직업에 Haproxy를 사용 했었지만 Traefik을 사용하려고했습니다.Traefik 인증이 실패했습니다.
먼저 Traefik의 대시 보드 페이지를 가져오고 싶습니다. 거의 작동하지만 팝업이 내 자격 증명을 입력하는 것처럼 보이지만 자격 증명이 맞다고하더라도 항상 실패합니다. 난에 입력하려고 할 때마다, AAA :
다음은 내 자격 증명 관리자입니다 볼 수 있듯이 여기에 용기를
docker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $PWD/traefik.toml:/traefik.toml \
-v $PWD/acme.json:/acme.json \
-p 80:80 \
-p 443:443 \
-l traefik.frontend.rule=Host:monitor.firelabs.fr \
-l traefik.port=8080 \
--network proxy \
--name traefik \
traefik:1.3.6-alpine --docker --logLevel=DEBUG
를 실행하는 내 고정 표시기 명령의 내 traefik.toml
defaultEntryPoints = ["http", "https"]
# Web section is for the dashboard interface
[web]
address = ":8080"
[web.auth.basic]
users = ["admin:aaa"]
# entryPoints section configures the addresses that Traefik and the proxied containers can listen on
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
입니다 대화 상자에서 나에게이 메시지를 보냅니다 :
time="2017-11-19T13:28:22Z" level=debug msg="Basic auth success..."
매우 기본적인 구성으로 볼 수 있습니다. Traefik과 함께 일하기 시작했습니다. 그래서 내가 틀렸는 지 모르겠다. 나는 웹 섹션 설정에 관한 문서를 보았고, 잘못된 것 같지 않다 ...
오타로 뭔가를 놓치고 있니?
이, 당신의 도움을 주셔서 감사합니다! 이제 완벽하게 작동합니다! – Hurobaki