Add immich

This commit is contained in:
2025-08-09 13:26:23 +00:00
parent 78e524d61c
commit 258c204163
9 changed files with 140 additions and 0 deletions

View File

@@ -40,3 +40,9 @@ GLANCE_KEY=
GHOST_DOMAIN=
GHOST_CRT=
GHOST_KEY=
############# Immich #############
IMMICH_DOMAIN=
IMMICH_CRT=
IMMICH_KEY=

View File

@@ -153,6 +153,24 @@
}
}
############## immich ##############
{$IMMICH_DOMAIN} {
tls /etc/ssl/custom/{$IMMICH_CRT} /etc/ssl/custom/{$IMMICH_KEY}
request_body {
max_size 1024MB
}
reverse_proxy http://immich_server:2283 {
header_up X-Real-IP {http.request.header.Cf-Connecting-Ip}
header_up X-Forwarded-For {http.request.header.Cf-Connecting-Ip}
header_up X-Country-Code {http.request.header.Cf-Ipcountry}
header_up X-Forwarded-Proto {http.request.scheme}
header_up Host {http.request.host}
header_up -CF-*
}
}
import Caddyfile.private