@Hydrangea
关于反向代理,官方 docker 页说明里有提到。
> If WordPress is hosted behind a reverse proxy that provides SSL, but is hosted itself without SSL, these options will initially send any requests into an infinite redirect loop.
https://hub.docker.com/_/wordpress
https://wordpress.org/support/article/administration-over-ssl/#using-a-reverse-proxy
所以呢,其实官方有提到反向代理的问题……
感觉 php 程序运行在 docker 下都得处理一下 http 和 https 的问题。我上次用 docker 安装 nextcloud 也遇到了类似情况
。