Yes,
It automatically generates all image when users click on images and user go to that pages.
However, I read AbanteCart and follow Official Nginx configure both in Github and in application files (nginx.conf.txt) I configure in abantecard.conf But it does not yet work on my website when I go to website >jersey-cotton-striped-polo-shirt it back to home page.
Server logs.
2017/06/23 11:27:04 [error] 981#0: *192 open() "/home/saku/abantecard/public_html404" failed (2: No such file or directory), client: 103.197.107.248, server: akhura.com, request: "GET /mens-fine-cotton-giraffe-polo-shirtsindex.php?rt=r/extension/banner_manager&type=1&banner_id=15&_=1498217225433 HTTP/1.1", host: "akhura.com", referrer: "akhura.com/mens-fine-cotton-giraffe-polo-shirts"
This is my configuration
server {
listen ..;
root ......public_html;
index index.php index.html;
server_name.
# access_log ......akhura_access.log;
error_log ......errors.log;
autoindex off;
proxy_connect_timeout 100s;
proxy_read_timeout 100s;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~* \.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|\.php_ {
deny all;
}
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}
location ~* ^(.*)\.(jpg|png|gif)$ {
set $hidpi_uri $1@2x.png;
if ($http_cookie !~ 'HTTP_IS_RETINA=1') {
break;
}
try_files $hidpi_uri $uri =404;
}
location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ {
expires max;
log_not_found off;
}
location ~ /(system/logs|resources/download) {
deny all;
return 403;
}
location ~ \.php$ {
try_files $uri = 404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:var/run/php/php7.0-fpm-saku.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}