This commit is contained in:
+5
-2
@@ -310,9 +310,12 @@ tools:
|
||||
# ─── 認証 (オプション) ────────────────────────────────────────
|
||||
# 未設定なら認証なしで動作 (従来互換)。
|
||||
# auth:
|
||||
# session_secret: "ランダムな文字列を設定してください"
|
||||
# # 空のままだと起動時にプロセスごとのランダム値で代替する (再起動でセッション失効)。
|
||||
# # 本番では `openssl rand -hex 32` 等で固定値を生成して設定すること。
|
||||
# # ⚠ プレースホルダ文字列をそのまま使わない (公開された secret は偽造・改ざんに使われる)。
|
||||
# session_secret: ""
|
||||
# session_max_age: 86400000 # 24h (ms)
|
||||
# secure_cookie: false # HTTPS 環境では true
|
||||
# secure_cookie: false # HTTPS 環境では true (TLS 終端の背後では必須)
|
||||
# admin_emails:
|
||||
# - "[email protected]"
|
||||
# # primary_provider: gitea # 'google' | 'gitea' | 'local'。複数有効時に明示
|
||||
|
||||
Reference in New Issue
Block a user