I have created this until now: location @s3_2 { set $s3_bucket 's3-eu-west-1.amazonaws.com/imagegallery'; set $url_full '$1'; rewrite ^ https://$s3_bucket/$url_full last; } location ~ /images/sg_profilepics/(.*)$ { try_files $uri @s3_2; }by geer - How to...
Hi, I have problems solving below case: All our files that are uploaded to our server are copied to an AWS s3 bucket automatically. This is a repeating process. We want to delete the original files and rewrite the original urls in the generated html files hosted by nginx original URL: https://localhost.com/images/sg_profilepics/949/56_output.jpg?t=-62169984000 to be replaced with: httpby geer - How to...
![]() |
![]() |
![]() |
![]() |
|