reverse proxying doesn't work #11
Open
opened 2026-04-22 02:28:23 +00:00 by fauno
·
5 comments
No Branch/Tag Specified
Labels
Clear labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Low
4
The priority is low
Priority
Medium
3
The priority is medium
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Help wanted
3
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
No labels
Status
Need More Info
2
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Issue tracking
Waiting/Blocked
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
appletalk
arjan
basebuilder
BornDeleuze
Brooke
carla
cas (Cassowary)
codegod100
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
flancian
Frando
iexos
jade (Jade Ambrose)
javielico (Javielico)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
marlon (marlon)
mayel
mirsal
moosemower
moritz
nicksellen (Nick Sellen)
notplants
oxaliq (sorrel)
p4u1
pau
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
PhiNatalie
renovate-bot (Comrade Renovate Bot)
ripclap
rix
rscmbbng
sef (sef)
simon
sixsmith (Sixsmith)
stevensting
tobias
trav (Trav Fryer)
val (val (he/him))
vaznasty
virtualboys
wolcen (Chris Thompson)
wykwit
xynosis
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/garage#11
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
while setting a reverse proxy for the cluster, using nginx on a non-coopcloud server, i've found these issues:
setting an
upstreamblock to every garage instance doesn't work, because traefik will close a connection with an unknown SNI, and theproxy_ssl_nameoption that would help requires a variable that's only available on the nginx commercial subscriptionsetting a single garage instance on
proxy_passwill connect to the garage instance but return signature invalid errors, because the hostname is signed along with other info, but traefik appears to keep using the SNI:the only thing that worked so far is setting a gateway node on the reverse proxy host (or on an intermediate host):
Could you provide more information on your setup? Are you saying that garage is installed as a binary+nginx and you're having trouble connecting it with other nodes? Or, are you trying to put nginx in front of garage nodes deployed with coop-cloud?
this, since traefik fronts garage, the communication between several traefiks and nginx is blocked because traefik expects the exact domain and nginx won't do that unless you pay the commercial subscription, so i had to deploy a garage binary along the nginx server and set it as a localhost gateway.
i wanted the nginx option to set cache policies, but apparently i can do that with tools like s3cmd, so this may not be needed at all! i'm still testing stuff though.
Gotcha, glad you've sorted out a solution! On another note It might be interesting to create a garage gateway recipe...
i think we can do that already since the gateway role is set during layout configuration. i'd like to have caching middleware though, that's why i was going with nginx. maybe this could become a
compose.cache.yml?Just checking in, does this need to be an issue anymore or can we make a separate issue for adding caching middleware?