summaryrefslogtreecommitdiff
path: root/caddytest/integration/caddyfile_adapt
diff options
context:
space:
mode:
Diffstat (limited to 'caddytest/integration/caddyfile_adapt')
-rw-r--r--caddytest/integration/caddyfile_adapt/file_server_pass_thru.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/file_server_pass_thru.txt b/caddytest/integration/caddyfile_adapt/file_server_pass_thru.txt
new file mode 100644
index 0000000..476b165
--- /dev/null
+++ b/caddytest/integration/caddyfile_adapt/file_server_pass_thru.txt
@@ -0,0 +1,32 @@
+:80
+
+file_server {
+ pass_thru
+}
+----------
+{
+ "apps": {
+ "http": {
+ "servers": {
+ "srv0": {
+ "listen": [
+ ":80"
+ ],
+ "routes": [
+ {
+ "handle": [
+ {
+ "handler": "file_server",
+ "hide": [
+ "./Caddyfile"
+ ],
+ "pass_thru": true
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}