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 = [{
|
links = [{
|
||||||
same-tab = true;
|
same-tab = true;
|
||||||
title = "NixOS Flake";
|
title = "NixFlake";
|
||||||
icon = "si:git";
|
icon = "si:nixos";
|
||||||
url = "https://flakes.satr14.my.id";
|
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}") {
|
}) redirects // lib.mapAttrs' (subdomain: cfg: lib.nameValuePair (if subdomain == "@" then base else "${subdomain}.${base}") {
|
||||||
useACMEHost = base;
|
useACMEHost = base;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
extraConfig = ''
|
||||||
|
access_log /var/log/nginx/${subdomain}.access.log;
|
||||||
|
error_log /var/log/nginx/${subdomain}.error.log;
|
||||||
|
'';
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = cfg.dest;
|
proxyPass = cfg.dest;
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue