chore: recover x-forwarded-proto

This commit is contained in:
DIYgod 2023-10-22 11:33:04 +08:00
parent 1e1310cc0d
commit f47906d6ff
No known key found for this signature in database
2 changed files with 12 additions and 4 deletions

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

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