docker中的WordPress:在此服务器上未find请求的URL xxx

我有一个工作的nginx代理 – 的Apache和WordPress的 – MySQL的设置。 如果我去https://testsite.com我看到index.php,它看起来不错。 但是当我点击网站的另一页时,它会redirect我:

 https://testsite.com/mypage 

我得到了以下错误:

 The requested URL /mypage/ was not found on this server. Apache/2.4.10 (Debian) Server at www.server.com Port 80 

redirect似乎很好(再次在该页上的https)。

我在这里find我的页面:

 /var/www/html/wp-content/cache/all/mypage /var/www/html/dev/wp-content/cache/page_enhanced/www.server.com/mypage 

为什么这不起作用? 我在我的WordPress图像中挂载了/var/www/html 。 (这是一个现有的WordPress的)我需要做手动阿帕奇变化呢? 这是正常的WordPress的?

a2enmod rewrite启用