a few tweaks
This commit is contained in:
parent
b496778102
commit
25f3767948
2 changed files with 7 additions and 3 deletions
|
|
@ -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";
|
||||
}];
|
||||
}
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue