Revert "chore: remove setting x-forwarded-proto in Caddyfile"

This reverts commit d4d647af84.
This commit is contained in:
DIYgod
2023-10-22 11:53:54 +08:00
parent 6864a4ed2f
commit 35c8198c71
3 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"latest": [
151, 53994, 54570, 54481, 54537, 54302, 53944, 55768, 55855, 56592, 54986,
56875, 56873, 56666, 55996, 57407, 56249, 57858, 56973, 58600, 33335
56875, 56873, 56666, 55996, 57407, 56249, 57858, 56973, 58600
],
"comment": [54986]
}
+6 -2
View File
@@ -19,7 +19,9 @@ data:
dns cloudflare {env.CF_API_TOKEN}
}
reverse_proxy xlog-internal.crossbell.svc:3000
reverse_proxy xlog-internal.crossbell.svc:3000 {
header_up x-forwarded-proto {scheme}
}
}
:8080 {
@@ -31,7 +33,9 @@ data:
on_demand
}
reverse_proxy xlog-internal.crossbell.svc:3000
reverse_proxy xlog-internal.crossbell.svc:3000 {
header_up x-forwarded-proto {scheme}
}
}
---
apiVersion: v1
+6 -2
View File
@@ -19,7 +19,9 @@ data:
dns cloudflare {env.CF_API_TOKEN}
}
reverse_proxy xlog-internal.crossbell.svc:3000
reverse_proxy xlog-internal.crossbell.svc:3000 {
header_up x-forwarded-proto http
}
}
:8080 {
@@ -31,7 +33,9 @@ data:
on_demand
}
reverse_proxy xlog-internal.crossbell.svc:3000
reverse_proxy xlog-internal.crossbell.svc:3000 {
header_up x-forwarded-proto http
}
}
---
apiVersion: v1