add glance

This commit is contained in:
2025-03-17 23:26:08 +04:00
parent dbe033daa4
commit f9d4c0647e
15 changed files with 272 additions and 0 deletions

View File

@ -25,3 +25,10 @@ VAULTWARDEN_KEY=
############# Sftpgo #############
SFTPGO_DOMAIN=
############# Glance #############
GLANCE_DOMAIN=
GLANCE_CRT=
GLANCE_KEY=
GLANCE_USERNAME=
GLANCE_PASSWORD=

View File

@ -96,6 +96,26 @@
}
}
############## glance ##############
{$GLANCE_DOMAIN} {
tls /etc/ssl/custom/{$GLANCE_CRT} /etc/ssl/custom/{$GLANCE_KEY}
basic_auth {
{$GLANCE_USERNAME} {$GLANCE_PASSWORD}
}
request_body {
max_size 64MB
}
reverse_proxy http://glance:8080 {
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 -CF-*
}
}
import Caddyfile.private