12345generation of the file, the source url will be
gs://images-prod-xxxxxxx/original/SS20-KLD0MJ_00B_F1.jpg?159178263\": storage: object doesn't exist"
Apr 1 18:27:41 imgproxy-02 imgproxy: #033[36mINFO #033[0m [2021-04-01T18:27:41+02:00] Started /ins/resize:fill:1080:1626:0/plain/original/SS20-KLD0MJ_00B_F1.jpg%3F1591782631 #033[1mrequest_id#033[0m=8BNJN4hJcZiMy7pPxzGQr #033[1mmethod#033[0m=GET Apr 1 18:27:41 imgproxy-02 imgproxy: time="2021-04-01T18:27:41+02:00" level="warning" message="Completed in 49.60602ms /ins/resize:fill:1080:1626:0/plain/original/SS20-KLD0MJ_00B_F1.jpg%3F1591782631" request_id="8BNJN4hJcZiMy7pPxzGQr" method="GET" status="404" error="Get \"gs://images-prod-xxxxxx/original/SS20-KLD0MJ_00B_F1.jpg?1591782631\": storage: object doesn't exist" Apr 1 18:27:41 imgproxy-02 imgproxy: #033[33mWARNING#033[0m [2021-04-01T18:27:41+02:00] Completed in 49.60602ms /ins/resize:fill:1080:1626:0/plain/original/SS20-KLD0MJ_00B_F1.jpg%3F1591782631 #033[1mrequest_id#033[0m=8BNJN4hJcZiMy7pPxzGQr #033[1mmethod#033[0m=GET #033[1mstatus#033[0m=404 #033[1merror#033[0m="Get \"gs://images-prod-xxxxxx/original/SS20-KLD0MJ_00B_F1.jpg?1591782631\": storage: object doesn't exist"
root@imgproxy-02:/opt/imgproxy/etc# curl 192.168.80.92:8080/ins/resize:fill:1080:1626:0/plain/original/SS20-KLD0MJ_00B_F1.jpg%3Fv%3D1591782631 Warning: Binary output can mess up your terminal. Use "--output -" to tell
I'm using nuxt assets, and would like to pass them through imgproxy.
Currently the url I get after passing it: https://static.ssyii.com/VaCwuNkO1_TfiRJphj8-PWkeIXWHmriRTfUPBUYJFZ0/rs:fit:30:30:0/g:sm/dpr:1/plain/http://localhost:3000/_nuxt/assets/default/burger/index.svg
The image path _nuxt/assets/default/burger/index.svg is 100% correct,
The domain https://static.ssyii.com seems to work with s3 images, but with assets I get 404
Would appreciate any help =)
I think the easiest way here is to push the imgproxy image to the Heroku registry and release it (replace
your_application with the actual application name):
docker pull darthsim/imgproxy:v2.16.3 docker tag darthsim/imgproxy:v2.16.3 registry.heroku.com/your_application/web docker push registry.heroku.com/your_application/web heroku container:release web -a your_application
Note that you should be logged in to the Heroku registry:
--env-fileDocker CLI flags: https://docs.docker.com/engine/reference/commandline/run/#set-environment-variables--e---env---env-file
hi guys can anyone help me?
i need to add cloudflare cdn cache with imgproxy
currently its said dynamic on cf-cache-status: DYNAMIC
i m using plain with @web ,
if i use /plain/https://someserver/image.png , cdn is working fine any way to change extension
@jahir9991 Hey! Unfortunately, I'm not much familiar with Cloudflare, but here's what I googled:
Cloudflare only caches based on file extension and doesn’t cache by MIME type.
When you use
@webp, Cloudflare doesn't recognize the extension. I see three ways to bypass this:
format:webp) instead of
.webpto specify the format, and CF should recognize the extension.
imgproxyurl.Raw('something:arg1:arg2')which will add the provided string to the options part as is. This will allow the users to use the options that are not supported by your lib.