config/profiles/http/sites/kuklefse.nix

14 lines
353 B
Nix
Raw Normal View History

2023-08-27 03:32:02 +02:00
{ config, pkgs, lib, mkDomain, ... }:
{
2024-12-23 22:40:44 +01:00
services.nginx.virtualHosts."kuklef.se" = {
2023-08-27 03:32:02 +02:00
forceSSL = true; # addSSL = true;
enableACME = true; #useACMEHost = acmeDomain;
root = pkgs.writeTextDir "index.html" ''
🍆🌮
'';
locations."/".extraConfig = ''
add_header 'Content-Type' 'text/plain; charset=utf-8';
'';
};
}