Nextcloud AIO Behind NGINX Proxy Manager reddit / selfhosted ---------------------------------------------------------------------- nxtmalteser · 2023-11-22 18:32 Hi All, I encountered a weird issue and I am stumped what could be going on. I spun a cloud vm and installed docker, then proceeded to install portainer for ease of use. I installed the two necessary containers for this instance , Nextcloud AIO and NGINX Proxy Manager. I followed [https://github.com/nextcloud/all-in-one/blob/main/reverse- proxy.md](https://github.com/nextcloud/all-in-one/blob/main/reverse- proxy.md) But for some sort of weird issue I could not connect with the reverse proxy to the nextcloud instance. Even when i resorted to the nginx shell the localhost:11000 the place where nextcloud apache is hosted could not be resolved. Managed to gain access to the container by using the docker virtual ip of the apache container, but i see this as no solution because the virtual ip can change whenever an update is applied. I appreciate your views and solutions :) ---------------------------------------------------------------------- Whispzy · 2023-11-22 21:29 Short and easy answer is switch to ”Caddy” search for caddy reverse proxy. Best thing i have ever used in terms of proxy 😁 ---------------------------------------------------------------------- No_Dragonfruit_5882 · 2023-11-22 22:09 I mean if everyone writes their favourite Reverseproxy OP has 10 suggestions and still the same error. Switch to HAproxy op, easy reverseproxy with acme plugin for automated Cert renewal + Lua script integration ---------------------------------------------------------------------- Whispzy · 2023-11-22 22:17 It does have a purpose though :) Since it's probably config, caddys almost configless with auto ssl too so. ---------------------------------------------------------------------- No_Dragonfruit_5882 · 2023-11-22 22:18 Same with haproxy ---------------------------------------------------------------------- Whispzy · 2023-11-22 23:32 Up to op then :) ---------------------------------------------------------------------- ProbablePenguin · 2023-11-23 15:10 That will not solve OPs problem. ---------------------------------------------------------------------- ProbablePenguin · 2023-11-23 15:16 IMO Nextcloud AIO is a mess that doesn't work properly for anyone used to docker and docker networking. It makes lots of bad assumptions about how things are configured. >Managed to gain access to the container by using the docker virtual ip of the apache container, but i see this as no solution because the virtual ip can change whenever an update is applied. The reverse proxy docs have something in the section "Running the Reverse Proxy in a Docker container on the same server" It sounds like they want you to use network mode host on the NGP container which is dumb, but should work in theory. Then you can use localhost in NGP. ---------------------------------------------------------------------- szaimen · 2023-11-23 15:32 Hi u/nxtmalteser, can you follow https://github.com/nextcloud/all-in- one/blob/main/reverse-proxy.md#6-how-to-debug-things?