certs working with wg

This commit is contained in:
venus
2026-03-31 23:24:54 -05:00
parent 95e27e1deb
commit 529bb27dc8
4 changed files with 5 additions and 5 deletions

2
.gitignore vendored
View File

@@ -1,3 +1,3 @@
gitea/data/* gitea/data/*
letsencrypt/acme.json letsencrypt/*
etc_wireguard/* etc_wireguard/*

View File

@@ -53,7 +53,7 @@ services:
# declare an antrypoint. Websecure is defined in the traefik.yml file # declare an antrypoint. Websecure is defined in the traefik.yml file
- "traefik.http.routers.wg-easy.entrypoints=websecure" - "traefik.http.routers.wg-easy.entrypoints=websecure"
# declare the certificate resolver. Also defined in traefik.yml file # declare the certificate resolver. Also defined in traefik.yml file
- "traefik.http.routers.wg-easy.tls.certresolver=basic-letsencrypt" - "traefik.http.routers.wg-easy.tls.certresolver=basic"
# set the port which will be proxied to the address # set the port which will be proxied to the address
- "traefik.http.services.wg-easy.loadbalancer.server.port=51821" - "traefik.http.services.wg-easy.loadbalancer.server.port=51821"

View File

@@ -25,7 +25,7 @@ entryPoints:
address: ":443" address: ":443"
certificatesResolvers: certificatesResolvers:
myresolver: basic:
acme: acme:
email: web-admin@riverrooks.art email: web-admin@riverrooks.art
storage: /letsencrypt/acme.json storage: /letsencrypt/acme.json

View File

@@ -5,9 +5,9 @@ services:
restart: unless-stopped restart: unless-stopped
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`whoami.riverrooks.dev`) || Host(`whoami.riverrooks.art`) || Host(`10.8.0.1`)" - "traefik.http.routers.whoami.rule=Host(`whoami.riverrooks.dev`) || Host(`whoami.riverrooks.art`)"
- "traefik.http.routers.whoami.entrypoints=websecure" - "traefik.http.routers.whoami.entrypoints=websecure"
- "traefik.http.routers.whoami.tls.certresolver=basic-letsencrypt" - "traefik.http.routers.whoami.tls.certresolver=basic"
networks: networks:
- traefik - traefik