Skip to content

Commit

Permalink
Fix built-in https support
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nsg committed May 25, 2023
1 parent b73b6e9 commit 917e1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 917e1d1

Please sign in to comment.