Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Missing instructions for Elixir Phoenix in the "Use a custom domain" doc

未关闭
#1,677 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
42/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
停滞
技术栈
elixir
领域
documentation

调研方向

从 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 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

superfly/docs 的其他 Issue

查看 superfly/docs 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。