File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ server {
103103 listen 80;
104104 return 301 https://$host$request_uri;
105105 server_name localhost;
106+ client_max_body_size 16G;
107+ fastcgi_read_timeout 120s;
106108}
107109server {
108110 listen 443 ssl http2;
@@ -127,6 +129,8 @@ server {
127129 fastcgi_pass unix:/run/nextcloud/fastcgi.sock; # From the nextcloud-initscript package
128130 fastcgi_index index.php;
129131 include fastcgi.conf;
132+ fastcgi_read_timeout 120s;
133+ client_max_body_size 16G;
130134 }
131135 location ^~ /.well-known/carddav { return 301 /remote.php/dav/; }
132136 location ^~ /.well-known/caldav { return 301 /remote.php/dav/; }
@@ -135,6 +139,7 @@ server {
135139}
136140EOF
137141sed -i -e ' s|memory_limit = 128M|memory_limit = 512M|; $aapc.enable_cli=1' /etc/php83/php.ini
142+ sed -i -e ' s|upload_max_file_size = 2M|upload_max_file_size = 16G|' /etc/php83/php.ini
138143sed -i -E ' /^php_admin_(flag|value)\[opcache/s/^/;/' /etc/php83/php-fpm.d/nextcloud.conf
139144msg_ok " Installed Nextcloud"
140145
You can’t perform that action at this time.
0 commit comments