feat: web-arm add fueltide vhost

This commit is contained in:
2025-12-28 22:35:20 +01:00
parent 4709d34b3e
commit f75f9d1a51
2 changed files with 26 additions and 0 deletions

View File

@@ -13,6 +13,8 @@
./support.cloonar.dev.nix
./stage.cloonar-technologies.at.nix
./fueltide.io.nix
./stage.scana11y.com.nix
./scana11y.com.nix

View File

@@ -0,0 +1,24 @@
{ pkgs, lib, config, ... }:
let
domain = "fueltide.cloonar.dev";
dataDir = "/var/www/${domain}";
in {
services.webstack.instances."${domain}" = {
enablePhp = false;
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIILf3KpvY3sG/l5w4phV3qxOnahFpb7op/8y6i3oLWXv"
];
locations."/".extraConfig = ''
index index.html;
'';
locations."~* \.(js|jpg|gif|png|webp|avif|css|woff2)$".extraConfig = ''
expires 365d;
add_header Pragma "public";
add_header Cache-Control "public";
'';
};
}