Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 11, 01:00 UTC
| 1 | # Used by import_block_snippet_non_replaced_block_from_separate_file.caddyfiletest |
| 2 | |
| 3 | (snippet) { |
| 4 | header { |
| 5 | reverse_proxy localhost:3000 |
| 6 | {block} |
| 7 | } |
| 8 | } |
| 9 | |
| 10 | # This snippet being unused by the test Caddyfile is intentional. |
| 11 | # This is to test that a panic runtime error triggered by an out-of-range slice index access |
| 12 | # will not happen again, please see issue #7518 and pull request #7543 for more information |
| 13 | (unused_snippet) { |
| 14 | header SomeHeader SomeValue |
| 15 | } |