From c8f2bb1b650e90e51d8180f6b02882bfb741a90b Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 22 Jul 2024 09:17:41 +0000 Subject: [PATCH] nixos/tandoor-recipes: revert 'GUNICORN_MEDIA=1' Quoting from upstream's documentation [1]: > Basically everyone recommends not doing this. Please use [a webserver] > to handle media file serving. Given that this commit broke the module for unrelated reasons, I've decided to just revert it and let downstream users make the choice of easy vs. secure. [1]: https://docs.tandoor.dev/system/configuration/#gunicorn-media This reverts commit e8c56de8271186257019a8a6ccbdabe7d63d0882. --- nixos/modules/services/misc/tandoor-recipes.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/services/misc/tandoor-recipes.nix b/nixos/modules/services/misc/tandoor-recipes.nix index 279b8abce284..1c903d280378 100644 --- a/nixos/modules/services/misc/tandoor-recipes.nix +++ b/nixos/modules/services/misc/tandoor-recipes.nix @@ -11,7 +11,6 @@ let DEBUG = "0"; DEBUG_TOOLBAR = "0"; MEDIA_ROOT = "/var/lib/tandoor-recipes"; - GUNICORN_MEDIA = true; } // optionalAttrs (config.time.timeZone != null) { TZ = config.time.timeZone; } // (