char/topaz-flake

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

Charlotte Som26a6f02

main
427 B20 linesraw
1{ pkgs, ... }:
2{
3  services.nginx.virtualHosts."media.charlotte.partners" = {
4    root = "/srv/www/media.charlotte.partners";
5    forceSSL = true;
6    enableACME = true;
7    extraConfig = ''
8      add_header Access-Control-Allow-Origin "*" always;
9      charset utf-8;
10    '';
11    locations."/" = {
12      index = "index.txt";
13    };
14    locations."/dl/" = {
15      extraConfig = ''
16        autoindex on;
17      '';
18    };
19  };
20}