Ver código fonte

Increase limits

Bob Mottram 8 anos atrás
pai
commit
96de1b786b
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      src/freedombone-app-mediagoblin

+ 2
- 2
src/freedombone-app-mediagoblin Ver arquivo

@@ -257,7 +257,7 @@ function install_mediagoblin {
257 257
         function_check nginx_disable_sniffing
258 258
         nginx_disable_sniffing $MEDIAGOBLIN_DOMAIN_NAME
259 259
         function_check nginx_limits
260
-        nginx_limits $MEDIAGOBLIN_DOMAIN_NAME
260
+        nginx_limits $MEDIAGOBLIN_DOMAIN_NAME 800m
261 261
         nginx_keybase $MEDIAGOBLIN_DOMAIN_NAME
262 262
         echo '' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
263 263
         echo '    gzip on;' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
@@ -307,7 +307,7 @@ function install_mediagoblin {
307 307
     function_check nginx_disable_sniffing
308 308
     nginx_disable_sniffing $MEDIAGOBLIN_DOMAIN_NAME
309 309
     function_check nginx_limits
310
-    nginx_limits $MEDIAGOBLIN_DOMAIN_NAME
310
+    nginx_limits $MEDIAGOBLIN_DOMAIN_NAME 800m
311 311
     echo '' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
312 312
     echo '    gzip on;' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
313 313
     echo '    gzip_min_length 1024;' >> /etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME