• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: October 20th, 2023

help-circle







  • [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.


  • Would it be possible to use a DNS server and reverse proxy together?

    Sure, reverse proxy is a web server whos job is to be in charge of ports 80 and 443 and decide to what other webservers send traffic based on request url

    Can I have Internal and external DNS?

    Probably, who knows what you really means. Split dns maybe?

    Should I switch to running a bare-metal hypervisor?

    If you need it. Seems your needs are met with just docker.

    What should I use for a DNS Server?

    dnsmasq works and I used it for a time, then I moved to having opnsense as my firewall and use its unbound service.