Update regex and image-proxy

This commit is contained in:
Thomas Rogers 2024-11-28 15:56:10 +01:00
parent 55ba7b02b0
commit 7fd4095310
2 changed files with 5 additions and 4 deletions

View file

@ -1,4 +1,4 @@
FROM willnorris/imageproxy:v0.10.0 as build
FROM ghcr.io/willnorris/imageproxy:main as build
# Above imageproxy image is built from scratch image and is barebones
# Switching over to ubuntu base image to allow us to debug better.

View file

@ -16,17 +16,17 @@ http {
upstream omnivore_imageproxy {
ip_hash;
server 127.0.0.1:1010;
server 127.0.0.1:7070;
}
upstream omnivore_bucket {
ip_hash;
server 127.0.0.1:7070;
server 127.0.0.1:1010;
}
server {
listen 80;
return 301 https://$host$request_uri
return 301 https://$host$request_uri;
}
server {
@ -60,6 +60,7 @@ http {
# ImageProxy
location /images {
rewrite ^/images/(.*)$ /$1 break;
proxy_pass http://omnivore_imageproxy;
}