|
|
|
|
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
|