3
0
Fork 0
forked from mirrors/nixpkgs

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
commit 4a4238a840
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;
'';