Issue setting up AIO behind nginx-proxy reverse proxy #553
-
Hi I am trying to setup nextcloud AIO behind an nginx reverse proxy which also runs in a docker container (https://github.com/nginx-proxy/nginx-proxy). I manage to get to the AIO containers page which asks me for the domain I am hosting the nextcloud on. There I enter my domain and always get the message: I can definitely verify that the domain is right (I am actually accessing the page via that domain). I also verified that from inside the nextcloud master container (by starting a shell inside) the domain is reachable on port 443. My docker compose file is:
Note I explicitly do not want to specify the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I suppose this goes into the same direction like #543. You need to specify the config in some conf file of your nginx proxy and not using environmental variables or labels for the docker container itself to make it work. Also network host option is required for the reverse proxy if running inside a docker container to make it work... If someone figured this out I'll gladly add it to the documentation then. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately nginx-proxy will likely never be supported. See the updated reverse proxy documentation why: https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md If you really want to use AIO, I'll recommend to switch to caddy. It is simply amazing. Apart from that, there is this idea: #557 |
Beta Was this translation helpful? Give feedback.
Unfortunately nginx-proxy will likely never be supported. See the updated reverse proxy documentation why: https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
If you really want to use AIO, I'll recommend to switch to caddy. It is simply amazing.
Of course understandable if that is not possible for you.
Apart from that, there is this idea: #557
Pull requests are very welcome :)