Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Display message when not adding www redirection

オープン
#232 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php
領域
cli, devops

調査の方向性

issue にはファイルやテストの指定がありません。まず、site-create コマンドの www および SSL のリダイレクト経路と設定生成を追跡します。HTTP の www リダイレクトが常に追加され、HTTPS リダイレクトが SSL と DNS の向き先に応じて条件付きで追加され、不足しているリダイレクトのメッセージが画面上と設定コメントの両方に表示されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

good first 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:

  1. Always add HTTP www redirection
  2. If the site has SSL and www domain is pointed, add https www redirection
  3. 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
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

EasyEngine/site-command のほかの issue

EasyEngine/site-command の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。