#Issue with NextcloudPi (non-Alpine) in NPM (502 Bad Gateway) (Solved)

16 messages · Page 1 of 1 (latest)

ivory eagle
#

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

slim prawn
#

why are you forwarding to port 8080?

slim prawn
#

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?

ivory eagle
ivory eagle
slim prawn
#

also, why port 8080?

#

its on your end, lxc works fine and npm is also working fine

ivory eagle
#

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

slim prawn
#

then forward to port 443, its there

#

like i said, set your trusted domain in config file and voila

ivory eagle
#

Now works like a charm. Thanks for helping!