<NME> nginx_online.conf
<BEF> server {
	listen       80;
	server_name  {$APP['DOMAIN']};
	
	set $domain "{$APP['DOMAIN']}";
	if ($host != $domain) {
		rewrite ^/(.*)$ http://$domain/$1 permanent;
	}

	access_log  /var/log/nginx/{$APP['NAME']}.access.log;
	error_log   /var/log/nginx/{$APP['NAME']}.error.log;
	location ~ \.(gif|png|jpg|svg|css|js|ttf|ico|woff|eot)$ {
		access_log   /var/log/nginx/{$APP['NAME']}.static.log;
	}


	root /data/www/{$APP['NAME']};
	index index.php index.html;

	location ~ ^/index.php$ {
		fastcgi_pass   127.0.0.1:{$APP['PHP_FPM.PORT']};
		fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
		include        fastcgi_params;
	}
	location ~ ^/(app|iphp|logs)/ {
		deny all;
	}
	location ~* \.(php|sh|sql|conf|log|git|key|crt|csr|md|csv)$ {
		deny all;
	}
	location ~* \.(asp|aspx|jsp|jar|cgi|mdb|ini|htaccess|config|rar|zip|gz|tar)$ {
		deny all;
	}

	try_files $uri $uri/ /index.php?$args;
}

<MSG> update nginx.conf

<DFF> @@ -9,7 +9,7 @@ server {
 
 	access_log  /var/log/nginx/{$APP['NAME']}.access.log;
 	error_log   /var/log/nginx/{$APP['NAME']}.error.log;
-	location ~ \.(gif|png|jpg|svg|css|js|ttf|ico|woff|eot)$ {
+	location ~ \.(gif|png|jpg|jpeg|svg|css|js|ttf|ico|woff|eot)$ {
 		access_log   /var/log/nginx/{$APP['NAME']}.static.log;
 	}
 

update nginx.conf