forked from mirrors/nixpkgs
Merge pull request #235143 from wlcx/patch-1
nixos/pixelfed: fix broken try_files
This commit is contained in:
commit
4a4238a840
|
@ -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;
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue