3
0
Fork 0
forked from mirrors/nixpkgs

nixos/restya-board: fix string escape

This commit is contained in:
volth 2019-09-17 00:22:56 +00:00 committed by GitHub
parent 08195254aa
commit 4641b683f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,7 +235,7 @@ in
locations."/".root = "${runDir}/client";
locations."~ \.php$" = {
locations."~ \\.php$" = {
tryFiles = "$uri =404";
extraConfig = ''
include ${pkgs.nginx}/conf/fastcgi_params;
@ -246,7 +246,7 @@ in
'';
};
locations."~* \.(css|js|less|html|ttf|woff|jpg|jpeg|gif|png|bmp|ico)" = {
locations."~* \\.(css|js|less|html|ttf|woff|jpg|jpeg|gif|png|bmp|ico)" = {
root = "${runDir}/client";
extraConfig = ''
if (-f $request_filename) {