mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
fpm.nix: fix string escaping
\. has no effect in single quoted strings
This commit is contained in:
parent
2c7f09a78f
commit
2d6926b64b
|
@ -10,7 +10,7 @@ import ../make-test-python.nix ({pkgs, lib, ...}: {
|
|||
testdir = pkgs.writeTextDir "web/index.php" "<?php phpinfo();";
|
||||
in {
|
||||
root = "${testdir}/web";
|
||||
locations."~ \.php$".extraConfig = ''
|
||||
locations."~ \\.php$".extraConfig = ''
|
||||
fastcgi_pass unix:${config.services.phpfpm.pools.foobar.socket};
|
||||
fastcgi_index index.php;
|
||||
include ${pkgs.nginx}/conf/fastcgi_params;
|
||||
|
|
Loading…
Reference in a new issue