mastercontainer: use remote-host caddy plugin only for login endpoints

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L.
2026-03-19 12:21:36 +01:00
parent 90d5d6bcf1
commit e0ff3acb3d
2 changed files with 8 additions and 2 deletions

View File

@@ -32,7 +32,10 @@ http://:80 {
}
https://:8443 {
@denied remote_host nextcloud-aio-nextcloud
@denied {
path /api/auth/login /api/auth/getlogin
remote_host nextcloud-aio-nextcloud
}
abort @denied
root * /var/www/docker-aio/php/public

View File

@@ -20,7 +20,10 @@
}
https://:8080 {
@denied remote_host nextcloud-aio-nextcloud
@denied {
path /api/auth/login /api/auth/getlogin
remote_host nextcloud-aio-nextcloud
}
abort @denied
root * /var/www/docker-aio/php/public