config/profiles/http/sites/kuklefse.nix

14 lines
356 B
Nix

{ config, pkgs, lib, mkDomain, ... }:
{
services.nginx.virtualHosts.${"kuklef.se"} = {
forceSSL = true; # addSSL = true;
enableACME = true; #useACMEHost = acmeDomain;
root = pkgs.writeTextDir "index.html" ''
🍆🌮
'';
locations."/".extraConfig = ''
add_header 'Content-Type' 'text/plain; charset=utf-8';
'';
};
}