summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/fileserver/testdata
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2020-09-16 20:09:28 -0400
committerGitHub <noreply@github.com>2020-09-16 18:09:28 -0600
commitb95b87381a282e1fe57295d145b71645d7801f07 (patch)
tree853f7368ac81f6ede2de30503201cf943841b34e /modules/caddyhttp/fileserver/testdata
parentb01bb275b395643542ceca4fbc82bedea8e43937 (diff)
fileserver: Fix try_files for directories; windows fix (#3684)
* fileserver: Fix try_files for directories, windows fix * fileserver: Add new file type placeholder, refactoring, tests * fileserver: Review cleanup * fileserver: Flip the return args order
Diffstat (limited to 'modules/caddyhttp/fileserver/testdata')
-rw-r--r--modules/caddyhttp/fileserver/testdata/foo.txt1
-rw-r--r--modules/caddyhttp/fileserver/testdata/foodir/foo.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/caddyhttp/fileserver/testdata/foo.txt b/modules/caddyhttp/fileserver/testdata/foo.txt
new file mode 100644
index 0000000..996f178
--- /dev/null
+++ b/modules/caddyhttp/fileserver/testdata/foo.txt
@@ -0,0 +1 @@
+foo.txt \ No newline at end of file
diff --git a/modules/caddyhttp/fileserver/testdata/foodir/foo.txt b/modules/caddyhttp/fileserver/testdata/foodir/foo.txt
new file mode 100644
index 0000000..0e3335b
--- /dev/null
+++ b/modules/caddyhttp/fileserver/testdata/foodir/foo.txt
@@ -0,0 +1 @@
+foodir/foo.txt \ No newline at end of file