config/profiles/http/sites/kuklefse.nix

14 lines
356 B
Nix
Raw Permalink Normal View History

2023-08-27 03:32:02 +02:00
{ 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';
'';
};
}