a few tweaks

This commit is contained in:
Satria 2026-03-06 15:43:56 +07:00
commit 25f3767948
2 changed files with 7 additions and 3 deletions

View file

@ -229,9 +229,9 @@ in {
{
links = [{
same-tab = true;
title = "NixOS Flake";
icon = "si:git";
url = "https://flakes.satr14.my.id";
title = "NixFlake";
icon = "si:nixos";
url = "https://flake.satr14.my.id";
}];
}
{

View file

@ -57,6 +57,10 @@ in {
}) redirects // lib.mapAttrs' (subdomain: cfg: lib.nameValuePair (if subdomain == "@" then base else "${subdomain}.${base}") {
useACMEHost = base;
forceSSL = true;
extraConfig = ''
access_log /var/log/nginx/${subdomain}.access.log;
error_log /var/log/nginx/${subdomain}.error.log;
'';
locations."/" = {
proxyPass = cfg.dest;
proxyWebsockets = true;