0
Apacheで動作しているWordPressインスタンスがあるIPアドレスに、/ blogで終わるURLをproxy_passingするNGINXサーバがあります。limitinternal recursion wordpress permalinks
問題は、Permalinksを有効にするとLimitInternalRecursionエラーが発生することです。 permalinksを有効にしないと、すべてが期待どおりに機能し、プロキシを介してすべてのブログページにアクセスできます。
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress