mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Update regex and image-proxy
This commit is contained in:
parent
55ba7b02b0
commit
7fd4095310
2 changed files with 5 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue