Files
config/profiles/http/sites/kuklefse.nix
T
2025-03-20 13:30:55 +01:00

17 lines
391 B
Nix

{ config, pkgs, lib, ... }:
let
inherit (config.pbsds.nginx) mkDomain;
in
{
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';
'';
};
}