nixos/pixelfed: fix broken try_files

Add missing $ to try files directive. This fixes pixelfed federation and search, amongst presumably many other things!
This commit is contained in:
Sam W 2023-05-31 15:19:23 +08:00 committed by GitHub
parent 9411636748
commit 6ad72aa37e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
'';