Comments (2)
Hey there,
I was facing the same issue. I resolved it by looking up the CIDR of the Docker network and add it to the trusted proxies.
Get Docker Nextcloud network settings:
$ docker network inspect nextcloud_net
[
{
"Name": "nextcloud_net",
"Id": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"Created": "2022-12-17T12:00:22.955222771+01:00",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "10.18.0.0/16",
"Gateway": "10.18.0.1"
}
]
},
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {
"xxxxxxxxxxxxx": {
"Name": "nextcloud-cron-1",
"EndpointID": "xxxxxxxxxxxxxxx",
"MacAddress": "02:42:ac:13:00:06",
"IPv4Address": "10.18.0.6/16",
"IPv6Address": ""
},
"xxxxxxxxxxxxxxxxxx": {
"Name": "nextcloud-caddy-1",
"EndpointID": "xxxxxxxxxxxxxxxxxx",
"MacAddress": "02:42:ac:13:00:05",
"IPv4Address": "10.18.0.5/16",
"IPv6Address": ""
},
...
...
...
From this you can get the IP of the Caddy container or the CIDR of the nextcloud subnet.
According to docs both should work as trusted_proxies
setting.
It's interesting that your config works. According to docs this setting should only allow IP4, IP6 and CIDR addresses and no domain names.
from nextcloud-compose.
Did it work for you @shad00m ?
from nextcloud-compose.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloud-compose.