- 🇮🇹Italy trickfun
I think that this task is not a duplicate.
if i use S3 nginx module configurationlocation ~ ^/s3/files/styles/ { try_files $uri @rewrite; }
I get this error
could not find named location "@rewrite",
If i use above configuration
location ~* ^/s3/files/styles/(.*)\.(png|svg|jpg|jpeg|gif|ico)$ { rewrite ^(.*)$ /index.php?q=$1; }
no image is generated.
if i use previous configuration with WEBP image style conversion i get the right image.
So. can you provide a better documentation for Nginx?
Thank you