Do_TheEvolutionB
Can you post the compose?
Also I thought that frigate is only usable through home assistant, but that only means android app I guess.
Anyway, I am actually in process of picking few cameras, likely going with tplink vigi, like C340 and see if it will play nicely.
do I need reverse proxy or forward proxy?
forward proxy, look at this squid guide
I do not have SSH enabled, is it required?
nope, its for managment, to make changes
Could I use lightppd to achieve this?
dunno
What is the best way to secure this proxy connection?
Setup a VPN like wireguard-easy, so that you are not connecting to your forward proxy through open port to the world, but first through VPN and only then to the proxy.
I want to avoid installing 3rd party apps, but I am happy for inightful posts should these be beneficial
Your browser should have proxy settings, so not 3rd party app needed, though some browser extensions like foxyproxy are nice
- install opnsense
- set up geoip block where only IPs from your own country can ever initiate connection from the outside
- keep your stuff up to date
- enjoy security
Strange, I never quite got why ever would i want to swtich to NPM, tried it and never liked it…
I ssh in and edit my caddyfile faster than I go to npm web interface and click through menus. I actually can just copy paste caddyfile config and have backup of it, while I am not even sure if npm has any backup solution by now, or you just suppose to backup on docker level.
And it is kinda in the way, a gui layer if you wanna do something more…
It sits in charge of your ports 80/443 and decides to which webserver it sends traffic. If to your jellyfin, or your nextcloud, or your uptimekuma, or your vaultwarden or your mealie or your dashboard…
unlike others it automaticly do https certificate for you and its config is really clean and readable which is nice.
Heres how to set it up if you wanna try.
npm is nice for people who want easy web gui to configure stuff
caddy makes me feel more in control, its easier to backup too, since its all in one easy and readable config, and probably has more features as you go with your needs
There is also not that layer of which developer fucked up that you get when projects are projects of projects…
Something I encountered last week.
- wanted to test running caddy without https and without being open to the world, to turn off automatic https.
- Googled and came up with auto_https off documentation that I read.
- It did not work, http still did not work
- Googled more and landed on forum page that explained why auto_https is not working and that it needs explicitly stated
http:\\
or port:80
in the address. Otherwise caddy will listen by default for only https.
It was no biggie, that forum post is literally the second google result for auto_https
and does good job, but you asked and I have it fresh in memory…
[Heres](file:///home/ja/IT/git/selfhosted-apps-docker/caddy_v2/readme.md) a detailed guide for how to setup caddy reverse proxy. Includes many setups and even monitoring who connects from where to what, though to get that running is bit of work.
is it just the usual way of proxy passing to the http://IP.address:port?
for caddy it is, if it can ping the machine, it can send traffic its way
how do I migrate my current setup (i.e. keys and configs)?
what I like about caddy is that all that is needed is copy paste the simple caddy config file, that is thats needed to move setup from caddy to caddy
What is the best way to approach this mixed system?
I think every reverse proxy can do what you need, including your already running nginx, so you get answers based on personal preference of users. I run before trafik, got guide for that too… its too complex with lot of abstraction layers, and it polutes docker compose files with labels which I dont like, but it is powerful. I played bit with nginx but other than being kinda gold standard of reverse proxy it was ugly boilerplate config compared to caddy. Caddy was simple, clean, and really… just worked. Though you listed using authentification through reverse proxy and there caddy has a shortcoming where you need to do every user manually, instead of just telling here use this file of users/passwords like traefik can.