Display message when not adding www redirection
还没有人认领这个 Issue。
评估
调研方向
issue 中没有指定文件或测试。首先跟踪 site-create 命令的 www 和 SSL 重定向路径以及配置生成过程。完成的标准是:始终添加 HTTP www 重定向;HTTPS 重定向取决于 SSL 和 DNS 是否指向正确;缺少重定向的消息同时显示在屏幕上和配置注释中。
由索引模型根据 Issue 内容生成。
描述
EasyEngine adds www redirections(www.example.com -> example.com or vice-versa) only if it finds that domain with www is pointed to the server. The reason for doing so is that to add https redirect from www.example.com -> example.com, we need a cert that is valid for both domains www.example.com and example.com. And to get that certificate, we need to ensure www is pointed to the server.
This leads to confusion among users who find that sometimes the redirection file is added, while sometimes it is not - https://community.easyengine.io/t/ee-site-create-503-service-temporarily-unavailable/12032
Solution to this issue is:
- Always add HTTP www redirection
- If the site has SSL and www domain is pointed, add https www redirection
- If the site has SSL and www domain is not pointed, show a message on the user's screen that https redirection is not added as the domain is not pointed. Also, add a similar message as comment in the redirection config file.
- 主要语言
- PHP
- 星标
- 18
- 派生
- 27
- 平均合并
- 5 小时 1 分钟
- 30 天内合并 PR
- 7
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
EasyEngine/site-command 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 42/100
EasyEngine/site-command#445 ·
-
难度 4/5 3-5 天 新手友好度 30/100
EasyEngine/site-command#395 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
EasyEngine/site-command#377 ·
-
难度 3/5 1-2 天 新手友好度 25/100
EasyEngine/site-command#375 ·
-
难度 4/5 3-5 天 新手友好度 20/100
EasyEngine/site-command#373 ·
查看 EasyEngine/site-command 的全部 Issue
相似的 Issue
-
No Code Attached Yet
难度 2/5 1-3 小时 新手友好度 72/100
joomla/joomla-cms#48611 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 76/100
Automattic/safe-publish#716 ·
维护者通常 1 天内回复
-
FrameworkBundle SecurityBundle
难度 2/5 1-3 小时 新手友好度 68/100
symfony/symfony-docs#23277 ·
维护者通常 3 天内回复
-
[Sync EN] hard link does not need special permissions可能已有人在做 @lacatoire 今天认领。 未关闭sync-en
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复