一、问题描述

Firefiy III 使用docker compose方式部署,再在更新最新版本后重新登陆会提示419 page expired

二、问题原因

在cookie配置部分中,新的网站域名与cookie domain中的值不同

# Cookie settings. Should not be necessary to change these.
# If you use Docker or similar, you can set COOKIE_DOMAIN_FILE to set
# the value from a file instead of from an environment variable
# Setting samesite to "strict" may give you trouble logging in.
COOKIE_PATH="/"
COOKIE_DOMAIN="www.example.com"
COOKIE_SECURE=false
COOKIE_SAMESITE=lax

三、解决方案

1、将cookie domain的值清空

2、将cookie domain的值设置为当前网站使用的域名