Missing instructions for Elixir Phoenix in the "Use a custom domain" doc
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 42/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- elixir
调研方向
从 networking/custom-domain.html.markerb 开始,将其“Get certified”部分与 Elixir Getting Started guide 以及链接的 Custom Domains and SSL Certificates guide 进行比较。记录 Phoenix 特有的 fly.toml PHX_HOST 设置,以及 config/prod.exs 中的 check_origin 和 force_ssl 设置,并为这些说明提供一个示例或明确的放置位置。
由索引模型根据 Issue 内容生成。
描述
I found an issue with this document.
Title: Use a custom domain
Location: https://fly.io/docs/networking/custom-domain/#get-certified
Source: https://github.com/superfly/docs/blob/main/networking/custom-domain.html.markerb
Describe the issue
After following the steps in the "Get certified" section, the website was crashing and the cause was not obvious in the server logs. I needed lots of web searches to get this to work. There is a Fly Custom Domains and SSL Certificates guide but it wasn't helpful and just confused me more.
The cause of the crashes was needing to change PHX_HOST in fly.toml to my custom domain name, which I don't see documented anywhere on Fly. Apparently I also needed to set check_origin and force_ssl in config/prod.exs, which doesn't seem to be documented on Fly either. This forum post finally helped me by providing an example of a prod.exs file I could cargo cult.
Since this is specific to Elixir Phoenix, maybe a new guide should be added to the Elixir Getting Started section.
Addtional info
N/A
- 主要语言
- MDX
- 星标
- 128
- 派生
- 1.1k
- 平均合并
- 23 小时 25 分钟
- 30 天内合并 PR
- 78
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
superfly/docs 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
documentation
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 68/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 65/100
维护者通常 1 天内回复
相似的 Issue
-
documentation
难度 1/5 1 小时以内 新手友好度 86/100
dotCMS/ai-workflows#73 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
aws-samples/sample-per-model-bedrock#595 ·
维护者通常 1 天内回复
-
desktop documentation
难度 1/5 1 小时以内 新手友好度 90/100
vfarcic/dot-agent-deck#2008 ·
维护者通常 1 天内回复
-
needs triage
难度 1/5 1 小时以内 新手友好度 85/100
pbakaus/impeccable#1210 ·
维护者通常 1 天内回复
-
docs: Google Safe Browsing flags go-bonnie.dev as "deceptive" (pipe-to-shell install instructions)未关闭documentation
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复