Skip to content

Commit 7ea7a19

Browse files
authored
nixos/bookstack: fix unintended escaping of nginx locations (#363581)
2 parents e898f0f + 8ae4064 commit 7ea7a19

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)