Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 14, 05:15 UTC
httpcaddyfile: Fix test on Windows
Matthew Holt committed
Nov 24, 2020 at 18:04 UTC
03d853e2ec24beb55ade910b222e043fdac9e7ea
1 file changed
+3
-5
caddytest/integration/caddyfile_adapt/log_except_catchall_blocks.txt
+3
-5
@@ -1,6 +1,6 @@
1
http://localhost:2020 {
2
log
3
- file_server
3
+ respond 200
4
}
5
6
:2020 {
@@ -31,10 +31,8 @@ http://localhost:2020 {
31
{
32
"handle": [
33
{
34
- "handler": "file_server",
35
- "hide": [
36
- "./Caddyfile"
37
- ]
34
+ "handler": "static_response",
35
+ "status_code": 200
36
}
37
]
38
}