Refactor: Dir structure

This commit is contained in:
2023-09-14 06:48:05 +02:00
parent c361625230
commit af3e66f901
157 changed files with 3 additions and 3 deletions

View File

@ -0,0 +1 @@
COMPOSE_PROJECT_NAME=wkd

View File

@ -0,0 +1,15 @@
{
auto_https off
}
http://tobiasmanske.de {
header {
Access-Control-Allow-Origin *
}
respond /.well-known/openpgpkey/policy "" 200
uri strip_prefix /.well-known/openpgpkey/hu
root * /data/tobiasmanske.de/
file_server
}

View File

@ -0,0 +1,17 @@
---
version: "3.4"
services:
wkd:
image: caddy:2
labels:
- "traefik.enable=true"
- "traefik.http.routers.wkd.rule=(Host(`tobiasmanske.de`) && PathPrefix(`/{path:.well-known/openpgpkey}/`))"
- "traefik.http.routers.wkd.entryPoints=websecure"
- "traefik.http.routers.wkd.priority=100"
- "traefik.http.services.wkd.loadbalancer.server.port=80"
restart: always
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro,z
- ./data:/data:ro,Z
...