From 917e1d1d6ea02f63c54e8583ae4ba0ccf08d1d90 Mon Sep 17 00:00:00 2001 From: Stefan Berggren Date: Thu, 25 May 2023 09:40:43 +0200 Subject: [PATCH] Fix built-in https support I think think this was only a problem with my somewhat custom setup with several layers of proxies to get traffic in to the beta instance. --- src/etc/haproxy.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/haproxy.cfg b/src/etc/haproxy.cfg index faed20d..0cfdccb 100644 --- a/src/etc/haproxy.cfg +++ b/src/etc/haproxy.cfg @@ -26,7 +26,7 @@ frontend https backend be_server option httpchk http-check send meth GET uri /server-info/ping - http-request set-uri %[url,regsub(^/api/,/,)] + http-request set-uri %[url,regsub(^.*/api/,/,)] http-request set-header X-Forwarded-Host %[req.hdr(Host)] http-request set-header X-Forwarded-Proto https if { ssl_fc } server immich-server 127.0.0.1:3001 maxconn 64 check inter 5s fall 2 rise 6