mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +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 New Issue
Block a user