Motion sensors to turn on an outlet that powers a water pump

Hello all again! I finally completed the install of Debian - as best I know how anyway. ha! Now I'm a bit hung up on how to enable access to the Node-RED Editor over HTTPS. Not sure if this is where something like CloudFlare / Nginx / Caddy comes into play. I've started a thread: How to enable access to the Node-RED Editor over HTTPS. If anyone was able to offer their insight I'd be much obliged!