Skip to content

Commit 8ae4064

Browse files
committed
nixos/bookstack: fix unintended escaping of nginx locations
1 parent 1b52efe commit 8ae4064

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nixos/modules/services/web-apps/bookstack.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,10 @@ in {
348348
index = "index.php";
349349
tryFiles = "$uri $uri/ /index.php?$query_string";
350350
};
351-
"~ \.php$".extraConfig = ''
351+
"~ \\.php$".extraConfig = ''
352352
fastcgi_pass unix:${config.services.phpfpm.pools."bookstack".socket};
353353
'';
354-
"~ \.(js|css|gif|png|ico|jpg|jpeg)$" = {
354+
"~ \\.(js|css|gif|png|ico|jpg|jpeg)$" = {
355355
extraConfig = "expires 365d;";
356356
};
357357
};

0 commit comments

Comments
 (0)