summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2023-06-02 18:13:20 +0200
committerGitHub <noreply@github.com>2023-06-02 18:13:20 +0200
commite26d017ba571b8c5b7e24d34eaa05561e3519af0 (patch)
tree794e898055af91ef1552f656bcadee11961c1c53
parentMerge pull request #235582 from NixOS/backport-235566-to-release-23.05 (diff)
parentnixos/pixelfed: fix broken try_files (diff)
downloadnixpkgs-e26d017ba571b8c5b7e24d34eaa05561e3519af0.tar.gz
Merge pull request #235608 from NixOS/backport-235143-to-release-23.05
[Backport release-23.05] nixos/pixelfed: fix broken try_files
-rw-r--r--nixos/modules/services/web-apps/pixelfed.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/pixelfed.nix b/nixos/modules/services/web-apps/pixelfed.nix
index 58ac307fd1ed..430a368650ec 100644
--- a/nixos/modules/services/web-apps/pixelfed.nix
+++ b/nixos/modules/services/web-apps/pixelfed.nix
@@ -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;
'';