Unknown log format "rt_cache" in /etc/nginx/sites-enabled/22222:7

After I updated Easy Egnine and reboot the VPS, its failed to run Nginx and shows following error.

nginx: [emerg] unknown log format “rt_cache” in /etc/nginx/sites-enabled/22222:7

Then I removed and installed easy engine. But now it giving me this errors.

sudo ee stack install --all Mail server is already installed MySQL connection is already alive Adding repository for NGINX, please wait… Adding repository for PHP, please wait… Updating apt-cache, please wait… Fixing missing GPG keys, please wait… Installing packages, please wait… Oops Something went wrong!! Check logs for reason tail /var/log/ee/ee.log & Try Again!!!

This is the latter part of that log.

0 upgraded, 39 newly installed, 0 to remove and 2 not upgraded. Need to get 14.6 MB/14.6 MB of archives. After this operation, 55.5 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! nginx-common nginx-custom E: There are problems and -y was used without --force-yes 2015-10-22 07:18:22,691 (INFO) ee : e[94me[91mOops Something went wrong!!e[0m 2015-10-22 07:18:22,692 (ERROR) ee : e[91mCheck logs for reason tail /var/log/ee/ee.log & Try Again!!!e[0m

Open nginx.conf file at /etc/nginx/nginx.conf.

There is “Log format Settings”.

Please add this code Log Format Settings area.

    log_format rt_cache '$remote_addr $upstream_response_time $upstream_cache_status [$time_local] '
    '$http_host "$request" $status $body_bytes_sent '
    '"$http_referer" "$http_user_agent"';