Increase limits

This commit is contained in:
Bob Mottram 2016-12-23 15:39:13 +00:00
parent 84765f1d1c
commit 96de1b786b
1 changed files with 2 additions and 2 deletions

View File

@ -257,7 +257,7 @@ function install_mediagoblin {
function_check nginx_disable_sniffing
nginx_disable_sniffing $MEDIAGOBLIN_DOMAIN_NAME
function_check nginx_limits
nginx_limits $MEDIAGOBLIN_DOMAIN_NAME
nginx_limits $MEDIAGOBLIN_DOMAIN_NAME 800m
nginx_keybase $MEDIAGOBLIN_DOMAIN_NAME
echo '' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
echo ' gzip on;' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
@ -307,7 +307,7 @@ function install_mediagoblin {
function_check nginx_disable_sniffing
nginx_disable_sniffing $MEDIAGOBLIN_DOMAIN_NAME
function_check nginx_limits
nginx_limits $MEDIAGOBLIN_DOMAIN_NAME
nginx_limits $MEDIAGOBLIN_DOMAIN_NAME 800m
echo '' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
echo ' gzip on;' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
echo ' gzip_min_length 1024;' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME