Primary storage on object storage and forward proxy
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Hello,
We have a Nextcloud server that:
- needs to use an external S3 bucket as primary storage.
- outbound traffic must flow through a local Squid Server.
We have verified that using local storage (datadirectory) as primary storage and setting the proxy to the local Squid Server with its port and allow_local_remote_servers to true, everything works fine, i.e. we can download apps and get server checks working.
However if we switch to object storage things break and we cannot see requests in the Squid log regarding requests to the S3 server URL.
In addition if we define the same bucket as an External Storage with properly setting the proxyvariable, the bucket works fine.
So, we suspect that the proxy variable is simply not taken into account in the scope of object storage as primary storage.
Is this correct? If so, can support to proxyextended in this sense?
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the primary object-storage path with the external-storage path, focusing on the proxy and allow_local_remote_servers settings. Reproduce the issue with an external S3 bucket and local Squid server; done means primary storage routes S3 requests through the proxy while existing local-storage and external-storage behavior remains working.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, php
- Domain
- backend, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100