1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-03-07 10:59:55 +01:00

nginx: fix domain root

This commit is contained in:
TheGeneralist 2026-01-24 15:42:02 +01:00
parent 54f5856164
commit faf0bd9b51
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4

View file

@ -55,7 +55,7 @@ in
}; };
virtualHosts."${family_domain}" = { virtualHosts."${family_domain}" = {
root = "/var/www/${family_domain}"; root = "/var/www/${family_domain}/dist";
locations."/".tryFiles = "$uri $uri.html $uri/ $uri/index.html =404"; locations."/".tryFiles = "$uri $uri.html $uri/ $uri/index.html =404";
extraConfig = '' extraConfig = ''