1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/onlyoffice_ynh.git synced 2024-09-03 19:56:11 +02:00

Increase nginx max body size

Was 1M, increased it to 10M.
This could be further improved to update php-fpm as well, such as done in: https://github.com/YunoHost-Apps/wallabag2_ynh/pull/55/files
This commit is contained in:
Keoma Brun 2020-04-02 11:44:06 +02:00 committed by GitHub
parent 07c565b882
commit b323caf176
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,4 +11,5 @@ location ^~ __PATH__/ {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
add_header X-Frame-Options "ALLOW-FROM https://__NEXTCLOUDDOMAIN__" always; add_header X-Frame-Options "ALLOW-FROM https://__NEXTCLOUDDOMAIN__" always;
client_max_body_size 10M;
} }