about summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorRyan Lahfa <masterancpp@gmail.com>2023-06-02 17:12:14 +0200
committerGitHub <noreply@github.com>2023-06-02 17:12:14 +0200
commit4a4238a8404e6ae2f745cc79cda14abc97f9a8d3 (patch)
treebce65c84f54b30bf0be966eeaf7d2b0c74891863 /nixos/modules/services
parent8a8d80f144a3ecf64c9471fd71338b7fffca2ee5 (diff)
parent6ad72aa37e4bc086a0648682b25e43f85d0fe43e (diff)
downloadnixlib-4a4238a8404e6ae2f745cc79cda14abc97f9a8d3.tar
nixlib-4a4238a8404e6ae2f745cc79cda14abc97f9a8d3.tar.gz
nixlib-4a4238a8404e6ae2f745cc79cda14abc97f9a8d3.tar.bz2
nixlib-4a4238a8404e6ae2f745cc79cda14abc97f9a8d3.tar.lz
nixlib-4a4238a8404e6ae2f745cc79cda14abc97f9a8d3.tar.xz
nixlib-4a4238a8404e6ae2f745cc79cda14abc97f9a8d3.tar.zst
nixlib-4a4238a8404e6ae2f745cc79cda14abc97f9a8d3.zip
Merge pull request #235143 from wlcx/patch-1
nixos/pixelfed: fix broken try_files
Diffstat (limited to 'nixos/modules/services')
-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;
           '';