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