Hey Guys! I'm having the issues with NCP during setting "valid" port from various tutorials I'm getting 502 Bad Gateway error, I've tried every tutorial and even tested with HSTS. I don't have any custom locations maked. Can you tell me what I'm doing wrong? Thanks in Advance for any tips or hints
#Issue with NextcloudPi (non-Alpine) in NPM (502 Bad Gateway) (Solved)
16 messages · Page 1 of 1 (latest)
why are you forwarding to port 8080?
you need to add your domain to trusted domains in /var/www/nextcloud/config/config.php
then just forward to 4443
also why are you adding custom configuration to NPM without having a working SSL connection going?
NPM works perfectly with SSL, i've tried with other sites like proxmox and Reactive Resume
Doesn't work tho, I've verified with http/https and with/without HSTS options
"it works on x app" is never a good comparison
also, why port 8080?
its on your end, lxc works fine and npm is also working fine
Tho I want to enter Nextcloud itself not the panel (I'd like to hide this panel tho), that's why I'm trying others ports than 4443
then forward to port 443, its there
like i said, set your trusted domain in config file and voila
Now works like a charm. Thanks for helping!