Add X-Forward-* headers #55

開放中
建立於 2021-12-02 15:25:36 +00:00 由 Ghost · 0 comment

Today I switch from using ngrok to telebit. I like telebit quite a lot better than ngrok.

I faced one issue which I spent 2 hours debugging. The issue was the the server thougth is was running on http so it would redirect to http://fluffy-sheep.telebit.io instead of https://fluffy-sheep.telebit.io. Ngrok set the X-Forwarded-Proto to https which did the trick for my stack. Now I solved it with a middleware in by ruby rack stack, but I which this could be solved by telebit instead.

I cloned the repo to search the code and found these commentes about headers. I did't research why they are commented out.
f0049c7f06/README.md (L434-L449)

Today I switch from using ngrok to telebit. I like telebit quite a lot better than ngrok. I faced one issue which I spent 2 hours debugging. The issue was the the server thougth is was running on http so it would redirect to http://fluffy-sheep.telebit.io instead of https://fluffy-sheep.telebit.io. Ngrok set the X-Forwarded-Proto to https which did the trick for my stack. Now I solved it with a middleware in by ruby rack stack, but I which this could be solved by telebit instead. I cloned the repo to search the code and found these commentes about headers. I did't research why they are commented out. https://git.coolaj86.com/coolaj86/telebit.js/blame/commit/f0049c7f06a03727ba9a0ca5aaf83a3fa5488a5d/README.md#L434-L449
登入 才能加入這對話。
1 參與者
通知
截止日期
未設定截止日期。
先決條件

未設定先決條件。

參考: coolaj86/telebit.js#55
No description provided.