@marcel91200 / caddy Mirror · read-only
Fork 0

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

master
caddyfiletest 13 lines 232 Bytes
Raw
1 (site) {
2 http://{args[0]} https://{args[0]} {
3 {block}
4 }
5 }
6 import site test.domain {
7 {
8 header_up Host {host}
9 header_up X-Real-IP {remote_host}
10 }
11 }
12 ----------
13 anonymous blocks are not supported