The original post: /r/nginx by /u/PZ0013 on 2024-09-22 08:28:16.
I'm trying to setup NextCloud with NPM on TrueNAS Scale, at least according to this guide. I'm stuck on getting NPM to issue the SSL certificate. The immediate problem is that the Server Reachability test keeps failing, and I don't know how to take the troubleshooting forward. So far,
- when NPM is installed as a TrueNAS app:
- when trying to create a certificate, server reachability is failed. The error is that a server can found but returned an unexpected status code ‘invalid domain or IP’
- port 443 and 30022 (as required for the app) has been forwarded to the device running NPM, however I’m not sure if the port forward is actually running properly
- check with www.portchecktool.com (and telnet) shows port 443 is blocked, but port 30022 is ok
So to check this isn’t an error with my router settings, I also tried,
- NPM installation in a Docker container:
- same error when creating a certificate as above
- port 443 has been forwarded to the device/container running NPM. (port 30022 not required with the Docker installation)
- this time with the portchecktool, port 443 is shown to be clear
So in:
-
the TrueNAS App installation, the App somehow blocks/is not listening for traffic on port 443; and
-
the Docker installation, port 443 is cleared but NPM can’t process the certificate?
I'm quite new to all this. Grateful if anyone could help me make sense of this