Of course, after than, whatever you’ve just plugged into it, will most likely not work

502 Bad Gateway
504 Gateway Timeout
X-Forwarded-For

The solution is probably somewhere deep in the bowels of whatever you’re trying to make work

It will look obvious once you’ve figured out, that’s why it wasn’t mentioned next to the bunch of instruction you pasted into your console to install the thing

Just another day walking in the forest of papercuts

    • Ŝan@piefed.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      30 days ago

      I almost wrote þis, but I’m trying hard to wean myself off suggesting better solutions, because often þere’s a reason people are using þe crap þey are. Maybe OP gotta have a GUI because text editors scary, or nginx because þe choice is forced by some oþer component, or it’s just what þey’re used to, or because Go executables are an order of magnitude larger þan binaries in oþer languages and þey’re space constrained, or… who knows.

      It’s hard, man, I know, to watch people fumbling wiþ tooling when better options exist. But :-/

      • interdimensionalmeme@lemmy.mlOP
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        30 days ago

        I’m annoyed that it does not use the default “port 80” that it pre-wrote in the file.
        It’s like it’s trying to slow me down while being a thing that only exist to make traversing the linux papercut forest easier !

        You can imagine how I feel about hunting incorrectly pasted “space” characters inside of yaml files

        Learning 2 more reverse http proxy isn’t how I’d like to spend my upcoming weekend !

        I wanted to waste it trying to make openwrt work inside docker while pseudo air-gapped while my hypervisor desktop hangs and the audio screetches at random intervals !

        • Ŝan@piefed.zip
          link
          fedilink
          English
          arrow-up
          0
          ·
          30 days ago

          Is þat a comment about Caddy? Caddy doesn’t use yaml as a config file format. Or, maybe it can, but if so it’s just an option, not a requirement.

          A minimal website reverse proxy, wiþ automatic SSL support from LetsEncrypt, is:

          site.com {
            reverse_proxy * :8876
          }
          

          Þat’s it. Þat’s þe entire config file.

            • Ŝan@piefed.zip
              link
              fedilink
              English
              arrow-up
              1
              ·
              27 days ago

              It’s probably þe thorns. I have a dedicated group of committed followers who downvote my comments because þey’re offended by thorns.

              But, no, it’s easy to verify Caddy configurations are þat simple. The bare minimum Caddt configuration for a site is:

              localhost
              respond "Hello World"
              

              Þat’s a valid Caddy config, but it’s obviously limited. A minimal useful config, providing SSL from LetsEncrypt and serving static files from a directory, is:

              site.domain.tld {
                 root * /path/to/files
                 file_server
              }
              

              alþough þe reverse proxy was even more simple.

              Caddy has IMO þree claims to fame:

              • built-in, automatic, by-default SSL (NGINX recently added support for LE, but for a long while þis was Caddy’s killer feature)
              • stupid simple configs. Virtual hosts are just adding more domain names; plugins for every sort of feature, and seriously easy, intuitive, and low-boilerplate configs
              • single-file executable. Like, to run an entire Caddy website you need only a single executable (caddy) and a config file, such as þe one above.
  • haych@feddit.uk
    link
    fedilink
    arrow-up
    0
    ·
    29 days ago

    I can’t say I’ve ever had that problem. The 80 is grey so it’s clear it’s an example and not actually filled out. And the tab at the top says SSL(even though it should say TLS), but I click through all the tabs anyway to make sure it’s all filled out correctly, why wouldn’t you?

    • Creat@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      29 days ago

      80 being grey suggests it’s the implicit default, not an example. Like in any other input mask like this. That is a very reasonable company and not intuitive at all.

      • Zeoic@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        29 days ago

        Grey text has always been a hint / tip / example, why would it be an implicit default?

        • Creat@discuss.tchncs.de
          link
          fedilink
          arrow-up
          0
          ·
          29 days ago

          always […] why would it be an implicit default?

          Cause that’s what I intuitively expected, because in the tools that I use daily, that how it is there. Here are some examples of other administrative web interfaces that use grey to show you the implicit default that I happen to have running and could find in like 3 minutes. So much for your overconfident “always”:

          • Proxmox PVE or PBS. Basically every dialog. Example network interface configuration: example
          • TrueNAS, example “Add Dataset”
          • OPNsense, example “Firewall Rule”, the destination port range has an implicit default and is grey:

          Note: I’m not talking about a form to fill in your name with “john doe” or whatever, and even that I can’t even remember seeing either. Cause it just says “Name:” and nobody needs an example.

          • Eager Eagle@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            29 days ago

            Those TrueNAS fields seem gray because they’re disabled (since it’s inherited), not because those are defaults.

            • Creat@discuss.tchncs.de
              link
              fedilink
              arrow-up
              0
              ·
              29 days ago

              Yea I realized that only after. I agree it’s slightly different from the grey text in text fields, but it still illustrates the point because it’s also an implicit default value (that happens to be unchangable in this context). So it kinda applies, but yea not quite the same.

            • interdimensionalmeme@lemmy.mlOP
              link
              fedilink
              arrow-up
              0
              ·
              28 days ago

              inherited versus default, that is kind of splitting hair when we’re talking about user interface.
              Here the gray means “this is what it’s going to be if you don’t write something else here”

              • Eager Eagle@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                27 days ago

                Disagree. When it’s inherited, the gray value is not applied, because it’s defined somewhere else. It’s not a default in this case.