oakserver / oak

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕

Home Page:https://oakserver.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proxied request secure?

dvv opened this issue · comments

Hi!

I wonder whether Request's #secure property should honor x-forwarded-proto if the request is proxied?
For example, running deno server behind an HTTPS terminator (traefik/nginx) does not allow to set secure cookies (formally, deno receives HTTP request).

TIA