Hello there,
I’m becoming NUTS trying to deploy Nextcloud from the Truenas apps catalog
Whatever directly using ip_address:port(30027) or through my Bunkerweb reverse proxy it get the following logs;
127.0.0.1 “GET /status.php HTTP/1.1” 200 1065 “-” “curl/8.14.1”
IP_ADDRESS_REVERSE_PROXY “GET / HTTP/1.1” 400 524 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:148.0) Gecko/20100101 Firefox/148.0”
using http or https destination from my reverse proxy does not change anything. Always the same result.
looking at various documentation I quickly saw that we are supposed to play with following variables
OVERWRITEHOST with value nextcloud.domain.example
OVERWRITEPROTOCOL with value https to accept https header forwarded by the proxy
OVERWRITECLIURL with value nextcloud.domain.example
and , maybe, NEXTCLOUD_TRUSTED_PROXIES with value IP_address of my reverse proxy.
I have tested all possible combinations, I also realised looking at the log that each time you change the filed’s value “Host” it is appended in a table in config.php used by Nextcloud main container.
Now in config.php I have 127.0.0.1, external_IP_address_of_the_container, nextcloud”, “nextcloud.domain.example” and even the ip address of my reverse proxy (I tested that out of ideas really)
How the hell is it supposed to be deployed..?