Fix tweedledum and tweedledee

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2021-06-12 17:11:15 +02:00
parent 85317de24b
commit 7c9f018e4c
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -65,7 +65,6 @@ inputs: {
config = (inputs.nixng.lib "${pkgs.stdenv.system}").generators.toNginx config = (inputs.nixng.lib "${pkgs.stdenv.system}").generators.toNginx
[ [
{ {
daemon = "off";
worker_processes = 2; worker_processes = 2;
events."" = { events."" = {
@ -73,10 +72,6 @@ inputs: {
worker_connections = 128; worker_connections = 128;
}; };
error_log = [ "/dev/stderr" "warn" ];
pid = "/run/nginx/nginx.pid";
http."" = { http."" = {
server_tokens = "off"; server_tokens = "off";
@ -84,7 +79,7 @@ inputs: {
[ "${pkgs.nginx}/conf/mime.types" ] [ "${pkgs.nginx}/conf/mime.types" ]
]; ];
charset = "utf-8"; charset = "utf-8";
access_log = [ "/dev/stdout" "combined" ]; access_log = "off";
server."" = { server."" = {
listen = [ "80" "default_server" ]; listen = [ "80" "default_server" ];
@ -96,7 +91,7 @@ inputs: {
return = "404"; return = "404";
}; };
location."/cache" = { location."/cache/" = {
root = "/var/nix-cache"; root = "/var/nix-cache";
}; };
}; };