From 6faeb0eb94391f943b0478f6e5d0d1ac430aeb24 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 17 Jun 2016 09:20:19 +0100 Subject: [PATCH] maximum size --- src/freedombone | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/freedombone b/src/freedombone index d2b3e113..7212a04a 100755 --- a/src/freedombone +++ b/src/freedombone @@ -10038,8 +10038,6 @@ function install_media_server { nginx_disable_sniffing $MEDIA_SERVER_DOMAIN_NAME nginx_limits $MEDIA_SERVER_DOMAIN_NAME '15m' echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME - echo ' client_max_body_size 1500M;' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME - echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo " root ${MEDIA_SERVER_WORKING_DIRECTORY}/public;" >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo ' location ~* ^/(appearance)/ {' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME @@ -10082,7 +10080,8 @@ function install_media_server { echo " access_log /var/log/nginx/${MEDIA_SERVER_DOMAIN_NAME}.log;" >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo " error_log /var/log/nginx/${MEDIA_SERVER_DOMAIN_NAME}.log;" >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME - echo ' client_max_body_size 1500M;' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME + nginx_disable_sniffing $MEDIA_SERVER_DOMAIN_NAME + nginx_limits $MEDIA_SERVER_DOMAIN_NAME '15m' echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo " root ${MEDIA_SERVER_WORKING_DIRECTORY}/public;" >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME