char/topaz-flake

git clone https://git.t4t.associates/char/topaz-flake

Charlotte Somrun stars.hackery.sitedf10a8e

main
380 B14 linesraw
1{ ... }: {
2  services.nginx.virtualHosts."stars.hackery.site" = {
3    forceSSL = true;
4    enableACME = true;
5    locations."/" = {
6      proxyPass = "http://127.0.0.1:8000";
7      extraConfig = ''
8        proxy_set_header Host $host;
9        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
10        proxy_set_header X-Forwarded-Proto $scheme;
11      '';
12    };
13  };
14}