mob next [ci-skip] [ci skip] [skip ci]
lastFile:modules/nixos/think-gtcm.nix
This commit is contained in:
@@ -3,5 +3,8 @@
|
||||
common = {
|
||||
imports = [ ./common.nix ];
|
||||
};
|
||||
think-gtcm = {
|
||||
imports = [ ./think-gtcm.nix ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -218,7 +218,7 @@ in
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."${cfg.domain}" = {
|
||||
root = "${cfg.stateDir}/public";
|
||||
root = "${cfg.package}/public";
|
||||
locations."~ \\.php$".extraConfig = ''
|
||||
fastcgi_pass unix:${config.services.phpfpm.pools.think-greaterchiangmai.socket};
|
||||
fastcgi_index site.php;
|
||||
|
||||
Reference in New Issue
Block a user