http routers inkl tls und domain ergänzt

This commit is contained in:
Czechman 2022-11-27 02:28:15 +01:00
parent bfabc68ab3
commit 0cf7d37adb
1 changed files with 16 additions and 1 deletions

View File

@ -228,7 +228,7 @@
# #
# Required # Required
# #
entryPoint = "websecure" entryPoint = "web"
# Use a DNS-01 ACME challenge rather than HTTP-01 challenge. # Use a DNS-01 ACME challenge rather than HTTP-01 challenge.
# Note: mandatory for wildcard certificate generation. # Note: mandatory for wildcard certificate generation.
@ -268,3 +268,18 @@
# Default: false # Default: false
# #
# disablePropagationCheck = true # disablePropagationCheck = true
[http.routers]
[http.routers.docker]
rule = "Host(`czechman.dynvpn.de`) && Path(`/foo`)"
[http.routers.docker.tls]
certResolver = "myresolver"
## Dynamic configuration
[http.routers]
[http.routers.docker]
rule = "Host(`czechman.dynvpn.de`)"
[http.routers.docker.tls]
certResolver = "myresolver"
[[http.routers.docker.tls.domains]]
main = "czechman.dynvpn.de"
# sans = ["*.czechman.dynvpn.de"]