From e15140948f3042cb9c9ac5cdfa7225e2bf9c02fd Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Wed, 28 Feb 2024 12:54:48 -0500 Subject: [PATCH] increase client body size and cookie samesite -> none --- roles/owncloud/templates/config.php.j2 | 2 ++ .../files/europa/https.owncloud.internal.simponic.xyz.conf | 1 + 2 files changed, 3 insertions(+) diff --git a/roles/owncloud/templates/config.php.j2 b/roles/owncloud/templates/config.php.j2 index 0a65ab8..5924575 100644 --- a/roles/owncloud/templates/config.php.j2 +++ b/roles/owncloud/templates/config.php.j2 @@ -79,4 +79,6 @@ $CONFIG = array ( 'provider-url' => 'https://authelia.simponic.xyz', 'redirect-url' => 'https://owncloud.internal.simponic.xyz/apps/openidconnect/redirect' ], + 'http.cookie.samesite' => 'None', + 'session_lifetime' => 60 * 60 * 24 ); diff --git a/roles/private/files/europa/https.owncloud.internal.simponic.xyz.conf b/roles/private/files/europa/https.owncloud.internal.simponic.xyz.conf index 9789ea4..3ae85b0 100644 --- a/roles/private/files/europa/https.owncloud.internal.simponic.xyz.conf +++ b/roles/private/files/europa/https.owncloud.internal.simponic.xyz.conf @@ -1,6 +1,7 @@ server { listen 443 ssl; server_name owncloud.internal.simponic.xyz; + client_max_body_size 2G; ssl_certificate /etc/letsencrypt/live/owncloud.internal.simponic.xyz/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/owncloud.internal.simponic.xyz/privkey.pem;