Reverse proxy questions

Hi

My setup I want is, Nextcloud AIO running behind an NGINX doing SSL termination.

The NGINX part I am comfortable with as have done this many times before. But I can’t get the AIO to behave.

Firstly the example command in the docs doesn’t make sense to me. Why configure Apache to listen on port 11000 when only exposing port 8080?

Anyway when I tried it the APACHE_PORT doesn’t seem to have any effect whether I specify it or not (and not sure why I need it).

However NGINX cannot forward traffic to the container on 8080 because it gets an error “You’re speaking plain HTTP to an SSL-enabled server port.”.

How can I turn off SSL in the AIO? I just want it to do plain HTTP so my proxy can terminate the SSL.

Hi, can you follow all-in-one/reverse-proxy.md at main · nextcloud/all-in-one · GitHub?