Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

指定されたドメイン以外でアクセスされた場合 #5

Open
lobin-z0x50 opened this issue Jun 21, 2022 · 0 comments
Open
Labels
優先度-中 必須ではないが、出来ればやっておきたいタスク

Comments

@lobin-z0x50
Copy link
Member

lobin-z0x50 commented Jun 21, 2022

現状、一番最初の domain() 定義に中継してしまう。

これを、エラー表示に切り替えたい。
500エラーの HTML を組み込んでおいて、そこを DocumentRoot とするような設定にできないか?

対応方針

nginx のコンフィグで default_server を指定すれば、そこに中継させられそう。

  • EzGate DSL に default_server を追加。
  • DSL で default_server が指定されなければ、暗黙的に default_server を1つ生成し、そこで常にエラーHTML を返す。
@lobin-z0x50 lobin-z0x50 added the 優先度-中 必須ではないが、出来ればやっておきたいタスク label Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
優先度-中 必須ではないが、出来ればやっておきたいタスク
Projects
None yet
Development

No branches or pull requests

1 participant