nginx: get rid of some logging and fix hopglass build
This commit is contained in:
parent
c515a46692
commit
eb46df56d2
|
@ -14,6 +14,7 @@
|
||||||
./variables.nix
|
./variables.nix
|
||||||
./mailserver.nix
|
./mailserver.nix
|
||||||
./borgbackup.nix
|
./borgbackup.nix
|
||||||
|
./nginx.nix
|
||||||
./hopglass-frontend.nix
|
./hopglass-frontend.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
10
nginx.nix
Normal file
10
nginx.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.nginx = {
|
||||||
|
logError = "/dev/null";
|
||||||
|
appendConfig = ''
|
||||||
|
access_log off;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
|
@ -30,7 +30,7 @@ yarn2nix.mkYarnPackage {
|
||||||
'';
|
'';
|
||||||
distPhase = ''
|
distPhase = ''
|
||||||
cp -Rv build/* $out/
|
cp -Rv build/* $out/
|
||||||
ln -s "$conf" $out/config.json
|
cat "$conf" > $out/config.json
|
||||||
'';
|
'';
|
||||||
allowedReferences = [ "out" ];
|
allowedReferences = [ "out" ];
|
||||||
yarnPreBuild = ''
|
yarnPreBuild = ''
|
||||||
|
|
Loading…
Reference in a new issue