From 0fe02a9f73243a06469205782591d4dfeeb9a22e Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Sun, 7 Jan 2024 16:18:43 +0000 Subject: [PATCH] fix uploads path eventually (#92) yeah yeah Reviewed-on: https://git.pub.solar/pub-solar/infra/pulls/92 Reviewed-by: b12f Co-authored-by: Hendrik Sokolowski Co-committed-by: Hendrik Sokolowski --- hosts/nachtigall/apps/mediawiki.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/nachtigall/apps/mediawiki.nix b/hosts/nachtigall/apps/mediawiki.nix index 33844dd..8445a79 100644 --- a/hosts/nachtigall/apps/mediawiki.nix +++ b/hosts/nachtigall/apps/mediawiki.nix @@ -67,7 +67,7 @@ $wgEnableUploads = true; $wgUploadDirectory = "/var/www/html/uploads"; - $wgUploadPath = "/var/www/html/uploads"; + $wgUploadPath = $wgScriptPath . "/uploads"; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert";