Increase limits
This commit is contained in:
parent
84765f1d1c
commit
96de1b786b
|
@ -257,7 +257,7 @@ function install_mediagoblin {
|
||||||
function_check nginx_disable_sniffing
|
function_check nginx_disable_sniffing
|
||||||
nginx_disable_sniffing $MEDIAGOBLIN_DOMAIN_NAME
|
nginx_disable_sniffing $MEDIAGOBLIN_DOMAIN_NAME
|
||||||
function_check nginx_limits
|
function_check nginx_limits
|
||||||
nginx_limits $MEDIAGOBLIN_DOMAIN_NAME
|
nginx_limits $MEDIAGOBLIN_DOMAIN_NAME 800m
|
||||||
nginx_keybase $MEDIAGOBLIN_DOMAIN_NAME
|
nginx_keybase $MEDIAGOBLIN_DOMAIN_NAME
|
||||||
echo '' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
|
echo '' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
|
||||||
echo ' gzip on;' >> /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
|
function_check nginx_disable_sniffing
|
||||||
nginx_disable_sniffing $MEDIAGOBLIN_DOMAIN_NAME
|
nginx_disable_sniffing $MEDIAGOBLIN_DOMAIN_NAME
|
||||||
function_check nginx_limits
|
function_check nginx_limits
|
||||||
nginx_limits $MEDIAGOBLIN_DOMAIN_NAME
|
nginx_limits $MEDIAGOBLIN_DOMAIN_NAME 800m
|
||||||
echo '' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
|
echo '' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
|
||||||
echo ' gzip on;' >> /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
|
echo ' gzip_min_length 1024;' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
|
||||||
|
|
Loading…
Reference in New Issue