mob next [ci-skip] [ci skip] [skip ci]

lastFile:modules/nixos/think-backend-gtcm.nix
This commit is contained in:
2025-11-25 16:26:04 +07:00
parent dbc19a33de
commit e9c0060478
4 changed files with 23 additions and 267 deletions

View File

@@ -285,22 +285,6 @@ in
};
};
};
virtualHosts."${cfg.backendDomain}" = {
root = "${think-backend-gtcm}/public";
locations = {
"/" = {
index = "index.php";
tryFiles = "$uri $uri/ /index.php?$query_string";
};
"~ \\.php$".extraConfig = ''
fastcgi_pass unix:${config.services.phpfpm.pools."think-backend-gtcm".socket};
'';
"~ \\.(js|css|gif|png|ico|jpg|jpeg)$" = {
extraConfig = "expires 365d;";
};
};
};
};
services.mysql = {