Hi guys,
I am a noob with unraid, still learning.
Started playing with nginx proxy since last week to open up my app accessible through the internet.
After numerous hours of reading and watching tutorials, I eventually able to make it work.
Example of my setup
The network setup:
DONE: Home (ISP dynamic IP) = set up x.duckdns.org
DONE: Mydomain setup at cloudflare. Create CNAME NC.mydomain.com point to x.duckdns.org
DONE: create NextCloud app at unraid port 4438
DONE: create NPM app at unraid
NPM:
add proxy host NC.mydomain.com > point to https://unraid IP:4438
request SSL for proxy host - done
So when I am in local network
- i am able to access nextcloud using http://unraid-IP:4438
- But cant access NC.mydomain.com
- error ERR_SSL_VERSION_OR_CIPHER_MISMATCH
When outside Network (say from 4G phone internet)
- i am able to access NC.mydomain.com
- obviously cant access the iunraid-IP:4438
My question:
When watching youtube tutorials, most of them after setting up sub.domain.com in NPM, even though they are inside the local network, they are able to use the URL instead of IP address.
But I can't use my nc.domain.com
For all i know. NPM is only forwarding request nc.mydomain.com to internal IP:port.
Which step did I missed?
* the cname is not proxy by cloudflare.
* port forwarding done for 80 and 443 to npm