Increase upload limits for pod-cloud
This commit is contained in:
parent
3fb47b587d
commit
af296a1e3a
@ -20,6 +20,12 @@ server {
|
|||||||
ssl_certificate_key /etc/letsencrypt/live/cloud.wojciechkozlowski.eu/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/cloud.wojciechkozlowski.eu/privkey.pem;
|
||||||
ssl_trusted_certificate /etc/letsencrypt/live/cloud.wojciechkozlowski.eu/chain.pem;
|
ssl_trusted_certificate /etc/letsencrypt/live/cloud.wojciechkozlowski.eu/chain.pem;
|
||||||
|
|
||||||
|
# Values copied from
|
||||||
|
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html and adjusted to
|
||||||
|
# 16G.
|
||||||
|
client_max_body_size 16G;
|
||||||
|
client_body_timeout 3600s;
|
||||||
|
|
||||||
# Redirect rules copied from
|
# Redirect rules copied from
|
||||||
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html.
|
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html.
|
||||||
location ^~ /.well-known {
|
location ^~ /.well-known {
|
||||||
|
@ -49,8 +49,8 @@ http {
|
|||||||
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;
|
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;
|
||||||
|
|
||||||
# set max upload size and increase upload timeout:
|
# set max upload size and increase upload timeout:
|
||||||
client_max_body_size 512M;
|
client_max_body_size 16G;
|
||||||
client_body_timeout 300s;
|
client_body_timeout 3600s;
|
||||||
fastcgi_buffers 64 4K;
|
fastcgi_buffers 64 4K;
|
||||||
|
|
||||||
# Enable gzip but do not remove ETag headers
|
# Enable gzip but do not remove ETag headers
|
||||||
|
Loading…
Reference in New Issue
Block a user