engelsystem: unvendor composer and yarn dependencies

This commit is contained in:
Martin Weinelt
2025-06-22 23:56:49 +02:00
parent b1a53f6033
commit 8dfb4412a7
2 changed files with 47 additions and 27 deletions

View File

@@ -134,7 +134,7 @@ in
enable = true;
virtualHosts."${cfg.domain}".locations = {
"/" = {
root = "${cfg.package}/share/engelsystem/public";
root = "${cfg.package}/share/php/engelsystem/public";
extraConfig = ''
index index.php;
try_files $uri $uri/ /index.php?$args;
@@ -142,7 +142,7 @@ in
'';
};
"~ \\.php$" = {
root = "${cfg.package}/share/engelsystem/public";
root = "${cfg.package}/share/php/engelsystem/public";
extraConfig = ''
fastcgi_pass unix:${config.services.phpfpm.pools.engelsystem.socket};
fastcgi_index index.php;