Changed TLS challenge settings

This commit is contained in:
Simon Einzinger 2024-12-23 21:22:55 +01:00
parent 8cdcac6403
commit 0ad5605369
2 changed files with 34 additions and 29 deletions

View file

@ -15,7 +15,8 @@ services:
traefik: traefik:
depends_on: depends_on:
- dockerproxy dockerproxy:
condition: service_started
image: traefik:v3.2 image: traefik:v3.2
container_name: traefik container_name: traefik
networks: networks:
@ -27,5 +28,5 @@ services:
restart: always restart: always
volumes: volumes:
- ./traefik.yaml:/etc/traefik/traefik.yaml:ro - ./traefik.yaml:/etc/traefik/traefik.yaml:ro
- ./letsencrypt:/var/letsencrypt - ./letsencrypt:/letsencrypt
- ./log:/log - ./log:/log

View file

@ -24,6 +24,11 @@ global:
entryPoints: entryPoints:
web: web:
address: ":80" address: ":80"
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure: websecure:
address: ":443" address: ":443"
@ -32,7 +37,7 @@ certificatesResolvers:
resolver: resolver:
acme: acme:
email: info@simon-einzinger.de email: info@simon-einzinger.de
storage: /var/letsencrypt/acme.json storage: "/letsencrypt/acme.json"
httpChallenge: httpChallenge:
entryPoint: web entryPoint: web
@ -72,8 +77,6 @@ log:
maxAge: 14 maxAge: 14
################################################################ ################################################################
# Access logs configuration # Access logs configuration
################################################################ ################################################################
@ -108,7 +111,8 @@ log:
# #
# Optional # Optional
# #
api: {} api:
{}
# Enable the API in insecure mode # Enable the API in insecure mode
# #
# Optional # Optional