Browse Source

Increase limits

Bob Mottram 8 years ago
parent
commit
96de1b786b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/freedombone-app-mediagoblin

+ 2
- 2
src/freedombone-app-mediagoblin View File

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