WKD: Advanced

This commit is contained in:
Tobias Manske 2024-02-01 11:36:32 +01:00
parent 39aca2778d
commit 6670048d12
Signed by: tobias
GPG Key ID: 9164B527694A0709
3 changed files with 16 additions and 2 deletions

View File

@ -9,7 +9,20 @@ http://tobiasmanske.de {
respond /.well-known/openpgpkey/policy "" 200
uri strip_prefix /.well-known/openpgpkey/hu
uri strip_prefix /.well-known/openpgpkey/tobiasmanske.de/hu
root * /data/tobiasmanske.de/
file_server
}
http://openpgpkey.tobiasmanske.de {
header {
Access-Control-Allow-Origin *
}
respond /.well-known/openpgpkey/policy "" 200
uri strip_prefix /.well-known/openpgpkey/hu
uri strip_prefix /.well-known/openpgpkey/tobiasmanske.de/hu
root * /data/tobiasmanske.de/
file_server
}

View File

@ -7,7 +7,7 @@ services:
labels:
- "traefik.enable=true"
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_default"
- "traefik.http.routers.wkd.rule=(Host(`tobiasmanske.de`) && PathPrefix(`/{path:.well-known/openpgpkey}/`))"
- "traefik.http.routers.wkd.rule=(Host(`tobiasmanske.de`) && PathPrefix(`/{path:.well-known/openpgpkey}/`) || Host(`openpgpkey.tobiasmanske.de`))"
- "traefik.http.routers.wkd.entryPoints=websecure"
- "traefik.http.routers.wkd.priority=100"
- "traefik.http.services.wkd.loadbalancer.server.port=80"

View File

@ -30,6 +30,7 @@ module "dns-tobiasmanske-de" {
{ type = "CNAME", name = "loki", value = "web.tobiasmanske.de" },
{ type = "CNAME", name = "wallabag", value = "web.tobiasmanske.de" },
{ type = "CNAME", name = "paperless", value = "web.tobiasmanske.de" },
{ type = "CNAME", name = "openpgpkey", value = "web.tobiasmanske.de" },
{ type = "CNAME", name = "status", value = "mon1.hel1.chaoswg.org" },
{ type = "CNAME", name = "auth", value = "infra.unruhig.eu" },
{ type = "TXT", name = "@", value = "google-site-verification=I7WrzPjqHIL6EATWd8UWfvx6ScDzqjA3DGZi-J-F1e0" },