Merge pull request #235143 from wlcx/patch-1

nixos/pixelfed: fix broken try_files
This commit is contained in:
Ryan Lahfa
2023-06-02 17:12:14 +02:00
committed by GitHub
+1 -1
View File
@@ -448,7 +448,7 @@ in {
cfg.nginx
{
root = lib.mkForce "${pixelfed}/public/";
locations."/".tryFiles = "$uri $uri/ /index.php?query_string";
locations."/".tryFiles = "$uri $uri/ /index.php?$query_string";
locations."/favicon.ico".extraConfig = ''
access_log off; log_not_found off;
'';