mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
nixos/bookstack: fix unintended escaping of nginx locations
This commit is contained in:
parent
1b52efe8c2
commit
8ae4064d70
1 changed files with 2 additions and 2 deletions
|
@ -348,10 +348,10 @@ in {
|
||||||
index = "index.php";
|
index = "index.php";
|
||||||
tryFiles = "$uri $uri/ /index.php?$query_string";
|
tryFiles = "$uri $uri/ /index.php?$query_string";
|
||||||
};
|
};
|
||||||
"~ \.php$".extraConfig = ''
|
"~ \\.php$".extraConfig = ''
|
||||||
fastcgi_pass unix:${config.services.phpfpm.pools."bookstack".socket};
|
fastcgi_pass unix:${config.services.phpfpm.pools."bookstack".socket};
|
||||||
'';
|
'';
|
||||||
"~ \.(js|css|gif|png|ico|jpg|jpeg)$" = {
|
"~ \\.(js|css|gif|png|ico|jpg|jpeg)$" = {
|
||||||
extraConfig = "expires 365d;";
|
extraConfig = "expires 365d;";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue