!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

324 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena107 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
17 Jul 2022
@winterqt:nixos.devWinter (she/her)and does the key name have any implication into its result?04:49:28
@winterqt:nixos.devWinter (she/her) * (null) 04:49:35
@winterqt:nixos.devWinter (she/her) * (null) 04:49:41
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.name
        vhostLocal = { localPort, addlLocationConfig ? {} }: {
          forceSSL = true;
          enableACME = true;
          listen =  [ {addr = "localhost"; port = customPorts.nginxHttp; ssl = false; }
          { addr = "localhost"; port = customPorts.nginxHttps; ssl = true; }
        ];
        locations = {
          "/" = {
            proxyPass = "http://localhost:${(toString localPort)}";
            extraConfig = ''
              proxy_set_header Host $host;
            '';
          };
        } // addlLocationConfig;
      };

04:50:16
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.name and then the actual line is "mydomain.example.com" = vHostLocal { localPort = 3333; }; 04:50:45

Show newer messages


Back to Room ListRoom Version: 6