mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 17:04:27 +01:00
chore: Modify TLS settings in traefik.yml
Updated TLS configuration in traefik.yml to use a self-signed certificate and removed wildcard domain certificate settings.
This commit is contained in:
@@ -99,13 +99,16 @@ entryPoints:
|
|||||||
#http3:
|
#http3:
|
||||||
# advertisedPort: '443'
|
# advertisedPort: '443'
|
||||||
http:
|
http:
|
||||||
tls:
|
# use dynamically generated self-signed certificate
|
||||||
# Generate a wildcard domain certificate
|
tls: {}
|
||||||
certResolver: myresolver-dns
|
# or use a pre-defined certificate resolver from below
|
||||||
domains:
|
# if so, remove above line with tls: {}
|
||||||
- main: example.com # change this to your proxy domain
|
#tls:
|
||||||
sans:
|
# certResolver: myresolver-dns
|
||||||
- '*.example.com' # change this to your proxy domain
|
# domains:
|
||||||
|
# - main: example.com # change this to your proxy domain
|
||||||
|
# sans:
|
||||||
|
# - '*.example.com' # change this to your proxy domain
|
||||||
middlewares:
|
middlewares:
|
||||||
- security-headers@file # reference to a dynamic middleware for setting http security headers per default
|
- security-headers@file # reference to a dynamic middleware for setting http security headers per default
|
||||||
- rate-limit@file # reference to a dynamic middleware for enabling rate limiting per default
|
- rate-limit@file # reference to a dynamic middleware for enabling rate limiting per default
|
||||||
|
|||||||
Reference in New Issue
Block a user