This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

go: pass header to htgen, run on go.lassul.us

+6 -4
+1
flake.nix
··· 4 4 inputs = { 5 5 # nixpkgs.url = "github:lassulus/nixpkgs/jitsi-upgrade"; 6 6 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; 7 + # nixpkgs.url = "path:/home/lass/tmp/nixpkgs-disk-debug"; 7 8 # nixpkgs.url = "git+file:/home/lass/src/nixpkgs"; 8 9 9 10 # nixvim.url = "github:nix-community/nixvim";
+5 -4
2configs/go.nix
··· 2 2 { 3 3 imports = [ 4 4 self.inputs.stockholm.nixosModules.go 5 - self.inputs.stockholm.nixosModules.htgen 5 + # already done on radio container host 6 + # self.inputs.stockholm.nixosModules.htgen 6 7 ]; 7 8 krebs.go = { 8 9 enable = true; 9 10 }; 10 11 services.nginx = { 11 12 enable = true; 12 - virtualHosts.go = { 13 + virtualHosts."go.lassul.us" = { 13 14 locations."/".extraConfig = '' 14 - proxy_set_header Host go.lassul.us; 15 + proxy_set_header Host $host; 15 16 proxy_pass http://localhost:1337; 16 17 ''; 17 18 serverAliases = [ 18 - "go.lassul.us" 19 + "go.r" 19 20 ]; 20 21 }; 21 22 };