diff options
author | volth <volth@volth.com> | 2019-09-17 00:22:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-17 00:22:56 +0000 |
commit | 4641b683f6d8c8e769ae849316de1522ae18179f (patch) | |
tree | a2a19443da7a1d8e0fe94313960e4cf79d2e3674 | |
parent | 08195254aa9a554a903a165617abd0e51a2c550e (diff) | |
download | nixlib-4641b683f6d8c8e769ae849316de1522ae18179f.tar nixlib-4641b683f6d8c8e769ae849316de1522ae18179f.tar.gz nixlib-4641b683f6d8c8e769ae849316de1522ae18179f.tar.bz2 nixlib-4641b683f6d8c8e769ae849316de1522ae18179f.tar.lz nixlib-4641b683f6d8c8e769ae849316de1522ae18179f.tar.xz nixlib-4641b683f6d8c8e769ae849316de1522ae18179f.tar.zst nixlib-4641b683f6d8c8e769ae849316de1522ae18179f.zip |
nixos/restya-board: fix string escape
-rw-r--r-- | nixos/modules/services/web-apps/restya-board.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/web-apps/restya-board.nix b/nixos/modules/services/web-apps/restya-board.nix index 1e7882488ac6..2c2f36ac598a 100644 --- a/nixos/modules/services/web-apps/restya-board.nix +++ b/nixos/modules/services/web-apps/restya-board.nix @@ -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) { |