slowly getting to acme setup

This commit is contained in:
twoneis 2025-02-07 22:33:31 +01:00
parent 9634b57b86
commit 12186e8005
2 changed files with 28 additions and 11 deletions

View file

@ -5,7 +5,8 @@ in mkIf conf.website.enable {
services.nginx.virtualHosts = {
"twoneis.site" = {
serverName = "twoneis.site";
forceSSL = false;
useACMEHost = "twoneis.site";
forceSSL = true;
locations = {
"/" = {
return = "200 \"faggot\"";
@ -13,8 +14,4 @@ in mkIf conf.website.enable {
};
};
};
networking.firewall.allowedTCPPorts = [
80
];
}