config/profiles/http/sites/kuklefse.nix
2024-12-23 22:40:44 +01:00

14 lines
353 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';
'';
};
}