increase client body size and cookie samesite -> none

This commit is contained in:
Elizabeth Hunt 2024-02-28 12:54:48 -05:00
parent e4c3a05055
commit e15140948f
2 changed files with 3 additions and 0 deletions

View File

@ -79,4 +79,6 @@ $CONFIG = array (
'provider-url' => 'https://authelia.simponic.xyz', 'provider-url' => 'https://authelia.simponic.xyz',
'redirect-url' => 'https://owncloud.internal.simponic.xyz/apps/openidconnect/redirect' 'redirect-url' => 'https://owncloud.internal.simponic.xyz/apps/openidconnect/redirect'
], ],
'http.cookie.samesite' => 'None',
'session_lifetime' => 60 * 60 * 24
); );

View File

@ -1,6 +1,7 @@
server { server {
listen 443 ssl; listen 443 ssl;
server_name owncloud.internal.simponic.xyz; server_name owncloud.internal.simponic.xyz;
client_max_body_size 2G;
ssl_certificate /etc/letsencrypt/live/owncloud.internal.simponic.xyz/fullchain.pem; ssl_certificate /etc/letsencrypt/live/owncloud.internal.simponic.xyz/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/owncloud.internal.simponic.xyz/privkey.pem; ssl_certificate_key /etc/letsencrypt/live/owncloud.internal.simponic.xyz/privkey.pem;