How to setup https for local apps?

I just installed ZimaOS and in settings I see option Enable HTTPS, I was under the impression it will cover all apps (jellyfin etc.) , but it looks like this is not the case.

My question is how to enable https so all apps work on my minipc INSIDE my local network, I’m not talking right now to access it from outside.

I saw people use duckDNS or cloudflare but it seems like it’s for accessing it from outside, which is not what I’m looking for.

I tried to save that one cert from zima os and import it into nginx proxy but it’s not working, tried for jellyfin and npm itself…

I also use GL-MT6000 not sure if it matters in this case.

Can someone point me in the right direction?

Pretty sure you’re on the right track already, I used nginx to get https working for all my containers.

I didn’t try to repurpose the certificate generated by ZimaOS, but instead generated a new one via OpenSSL. I imported that into nginx and it applied to all the hosts that I set up. Maybe that’s what you need to try instead.

2 Likes

I’ll try it as well, what I did for now:

  1. Install nginx proxy
  2. enable https on zimaos
  3. since landing page of zimaos takes port 80 and 443 it creates some isues when configuring npm and other apps…
  4. solution edit /etc/casaos/gateway.ini 80 > 85, 443 > 444
  5. sudo systemctl restart zimaos-gateway.service
  6. Configure duckdns
  7. use cert from duckdns

bottom line is it works.

to be continued…

I use clouldflare inside my home network and outside to get https