プロジェクト

全般

プロフィール

Enhancement(機能追加・改善) #59

Add partial SSL configuration (部分 SSL 機能に対応する)

Kousuke Ebihara14年以上前に追加. ほぼ14年前に更新.

ステータス:
Fixed(完了)
優先度:
Low(低め)
担当者:
対象バージョン:
開始日:
2009-02-27
期日:
進捗率:

100%


説明

Overview (概要)

Add partial SSL configuration

部分 SSL 機能に対応する

Spec (仕様)

Add configurations to OpenPNE.yml.

OpenPNE.yml に設定を追加する。

######################################
# SSL
######################################

# 特定ページでの SSL を使用するかどうか
# Configuration of using SSL
use_ssl: false

# SSL用URL (Cookie の値を引き継ぐため、 base_url と同一ドメイン・パスである必要があります)
# Base URL for SSL (Set same domain and same path with "base_url" configuration to take over a value of Cookie)
ssl_base_url:
  pc_frontend: "https://example.com" 
  mobile_frontend: "https://example.com" 
  pc_backend: "https://example.com" 

# SSL が必須なアプリケーション
# Applications that are SSL required
ssl_required_applications: ["pc_backend"]

# SSL が必須なアクション
# Actions that are SSL required
ssl_required_actions:

  # PC 版設定
  # for pc_frontend
  pc_frontend: ["member/register", "member/registerInput", "member/registerEnd", "member/editProfile", "member/config", "member/login", "member/logout", "member/invite"]

  # 携帯版設定
  # for mobile_frontend
  mobile_frontend: ["member/register", "member/registerInput", "member/registerEnd", "member/editProfile", "member/config", "member/login", "member/logout", "member/invite"]

  # 管理画面設定
  # for pc_backend
  pc_backend: []

# SSL を使用するかどうかをメンバーが選択できるアクション
# Actions that are SSL selectable by SNS member
ssl_selectable_actions:

  # PC 版設定
  # for pc_frontend
  pc_frontend: []

  # 携帯版設定
  # for mobile_frontend
  mobile_frontend: []

  # 管理画面設定
  # for pc_backend
  pc_backend: []

関係しているリビジョン

リビジョン daf156db (差分)
Kousuke Ebiharaほぼ14年前に追加

added ability to use partial SSL (fixes #59)

リビジョン e02a2b55 (差分)
Kousuke Ebiharaほぼ14年前に追加

configuration examples for ssl_base_url in OpenPNE.yml.sample are now prefixed by "https://" (fixes #59)

リビジョン 3d5578a7 (差分)
Kousuke Ebiharaほぼ14年前に追加

fixed redirecting request is looped for forwarded request (fixes #59)

履歴

#1 Kousuke Ebiharaほぼ14年前に更新

  • 対象バージョンOpenPNE 3.5.2 にセット

#2 Kousuke Ebiharaほぼ14年前に更新

  • ステータスNew(新規) から Accepted(着手) に変更
  • 担当者Kousuke Ebihara にセット

#3 Kousuke Ebiharaほぼ14年前に更新

  • ステータスAccepted(着手) から Pending Review(レビュー待ち) に変更
  • 進捗率0 から 50 に変更

更新履歴 daf156db1ca599b85afca11efabbaa892ef23191 で適用されました。

#4 Kiwa Sakaiほぼ14年前に更新

  • ステータスPending Review(レビュー待ち) から Rejected(差し戻し) に変更
  • prod環境だとログイン・ログアウトが404エラーになります(dev環境では問題なし)
  • OpenPNE.yml.sample のSSL用URLはhttps://example.com にするべきではないでしょうか

#5 Kousuke Ebiharaほぼ14年前に更新

  • ステータスRejected(差し戻し) から Pending Review(レビュー待ち) に変更

更新履歴 e02a2b55ee07cea4523f77f23efd41b9d6dd5776 で適用されました。

#6 Kousuke Ebiharaほぼ14年前に更新

  1. prod環境だとログイン・ログアウトが404エラーになります(dev環境では問題なし)

テスト環境を確認しましたが、これはテスト環境の Apache の設定で 443 番ポートでの AllowOverride が許可されていないのが原因のようでした。手元の環境では再現しませんし、再現できたテスト環境ではリクエストが明らかにアプリに到達していません。こちらについては問題なしとします。

#7 Kousuke Ebiharaほぼ14年前に更新

  • ステータスPending Review(レビュー待ち) から Pending Testing(テスト待ち) に変更

#8 Kousuke Ebiharaほぼ14年前に更新

  • 題名SSLに対応する から Add partial SSL configuration (部分 SSL 機能に対応する) に変更

#9 Kiwa Sakaiほぼ14年前に更新

  • ステータスPending Testing(テスト待ち) から Fixed(完了) に変更
  • 進捗率50 から 100 に変更

他の形式にエクスポート: Atom PDF