Hello community,
I was wondering if it is possible to selfhost CryptPad with cloudflare tunnel?
In config/config.js
httpUnsafeOrigin = 'https://cryptpad.example.com',
httpSafeOrigin = 'http://localhost:3001',
In Cloudflare config file, my service points to http://localhost:3000
.
I am able to register an account and log in, but when I try to access https://cryptpad.example.com/drive/
, it tells me localhost refused to connect.
Any help would be appreciated.
I followed Administrator Guide >> Installation #Recommended for installation, without nginx.
I am able to get everything working by using the local ip (say 1.2.3.4)
httpUnsafeOrigin = 'http://1.2.3.4:3000',
httpAddress= '1.2.3.4',
and access via http://1.2.3.4:3000
on another computer in the local network.