mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-21 10:50:10 +00:00
mastercontainer: use remote-host caddy plugin only for login endpoints
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user