Commit 8ae4064d authored by s1341's avatar s1341
Browse files

nixos/bookstack: fix unintended escaping of nginx locations

parent 1b52efe8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -348,10 +348,10 @@ in {
            index = "index.php";
            tryFiles = "$uri $uri/ /index.php?$query_string";
          };
          "~ \.php$".extraConfig = ''
          "~ \\.php$".extraConfig = ''
            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;";
          };
        };