add caddy+h2 config

This commit is contained in:
kirikira
2018-04-16 17:47:18 +08:00
parent d1f24d4a9f
commit bd3b4ee030
5 changed files with 220 additions and 7 deletions

11
Caddy+h2/Caddyfile Normal file
View File

@@ -0,0 +1,11 @@
https://example.domain {
tls kiri_so@outlook.com
root /var/www/
proxy /test https://127.0.0.1:8443 {
header_upstream Host "example.domain"
header_upstream X-Forwarded-Proto "https"
insecure_skip_verify
}
}