作者 zhl

u

... ... @@ -92,6 +92,13 @@ public function createBtSite($domain, $ssl_open, $ssl_auto, $ssl_auto_day, $ssl_
location @opencart {
rewrite ^/(.+)$ /index.php?_route_=$1 last;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ {
try_files $uri $uri/ /img_crop.php$is_args$query_string;
expires 30d;
error_log /dev/null;
access_log /dev/null;
}
# End SEO settings';
$bt->SaveFileBody($host, $htaccess);
... ...