Primo commit
This commit is contained in:
13
Caddyfile.snippet
Normal file
13
Caddyfile.snippet
Normal file
@@ -0,0 +1,13 @@
|
||||
parking.lvh.me {
|
||||
# Integrazione Authelia per autenticazione
|
||||
forward_auth authelia:9091 {
|
||||
uri /api/verify?rd=https://parking.lvh.me/
|
||||
copy_headers Remote-User Remote-Groups Remote-Name Remote-Email
|
||||
}
|
||||
|
||||
# Proxy inverso verso il container parking sulla porta 8000
|
||||
reverse_proxy parking:8000
|
||||
|
||||
# Usa certificati gestiti internamente per lvh.me (locale)
|
||||
tls internal
|
||||
}
|
||||
Reference in New Issue
Block a user