#!/bin/bash if [[ "$X_APPLICATION_HTTP_SERVER" != "nginx" ]]; then exit 0 fi KEEP_ALIVE_DISABLE="msie6" MAX_KEEP_ALIVE_REQUESTS=100 echo " keepalive_disable $KEEP_ALIVE_DISABLE; keepalive_requests $MAX_KEEP_ALIVE_REQUESTS; " >"/var/local/nginx/http/keepalive.conf" exit 0