mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-01 20:46:12 +01:00
Fix tweedledum and tweedledee
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
85317de24b
commit
7c9f018e4c
|
@ -65,7 +65,6 @@ inputs: {
|
|||
config = (inputs.nixng.lib "${pkgs.stdenv.system}").generators.toNginx
|
||||
[
|
||||
{
|
||||
daemon = "off";
|
||||
worker_processes = 2;
|
||||
|
||||
events."" = {
|
||||
|
@ -73,10 +72,6 @@ inputs: {
|
|||
worker_connections = 128;
|
||||
};
|
||||
|
||||
error_log = [ "/dev/stderr" "warn" ];
|
||||
|
||||
pid = "/run/nginx/nginx.pid";
|
||||
|
||||
http."" = {
|
||||
server_tokens = "off";
|
||||
|
||||
|
@ -84,7 +79,7 @@ inputs: {
|
|||
[ "${pkgs.nginx}/conf/mime.types" ]
|
||||
];
|
||||
charset = "utf-8";
|
||||
access_log = [ "/dev/stdout" "combined" ];
|
||||
access_log = "off";
|
||||
|
||||
server."" = {
|
||||
listen = [ "80" "default_server" ];
|
||||
|
@ -96,7 +91,7 @@ inputs: {
|
|||
return = "404";
|
||||
};
|
||||
|
||||
location."/cache" = {
|
||||
location."/cache/" = {
|
||||
root = "/var/nix-cache";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue