mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2025-09-03 17:53:33 +00:00
Add immich
This commit is contained in:
@@ -40,3 +40,9 @@ GLANCE_KEY=
|
||||
GHOST_DOMAIN=
|
||||
GHOST_CRT=
|
||||
GHOST_KEY=
|
||||
|
||||
############# Immich #############
|
||||
IMMICH_DOMAIN=
|
||||
IMMICH_CRT=
|
||||
IMMICH_KEY=
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user