Merge pull request #7779 from nextcloud/enh/7778/remote-host-login-endpoints

mastercontainer: use remote-host caddy plugin only for login endpoints
This commit is contained in:
Simon L.
2026-03-19 12:53:28 +01:00
committed by GitHub
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