nginxを使用してdrupal6を実行しましたが、mydomain.com / update.phpを実行すると、正しく完了しないようです。設定を微調整して実行しましたが、[更新]ボタンをクリックしても結果が表示されません。更新ページを離れることはありません。これは私に更新が起こらなかったと信じさせる
私の質問
- update.phpを正しく完了する方法。
drupalを実行するように設定するために使用したnginxフレームワークには、update.phpへのアクセスを設定するファイルが含まれています。以下に、.htaccess関連のセキュリティを削除したことに注意してください。 /または実行するcron。
# -*- mode: nginx; mode:autopair; mode: flyspell-prog; ispell-local-dictionary: "american" -*-
### Configuration file for Drupal if you're not using drush to update your site or run cron.
## XMLRPC. Comment out if not enabled.
location = /xmlrpc.php {
fastcgi_pass phpcgi;
# To use Apache for serving PHP uncomment the line bellow and
# comment out the above.
#proxy_pass http://phpapache;
}
## Restrict cron access to a specific host.
location = /cron.php {
# ## If not allowed to run cron then issue a 404 and redirect to the
# ## site root.
# if ($not_allowed_cron) {
# return 404 /;
# }
fastcgi_pass phpcgi;
# ## To use Apache for serving PHP uncomment the line bellow and
# ## comment out the above.
# #proxy_pass http://phpapache;
}
## Run the update from the web interface with Drupal 7.
location = /authorize.php {
fastcgi_pass phpcgi;
## To use Apache for serving PHP uncomment the line bellow and
## comment out the above.
#proxy_pass http://phpapache;
}
location = /update.php {
#auth_basic "Restricted Access"; # auth realm
#auth_basic_user_file .htpasswd-users; # htpasswd file
fastcgi_pass phpcgi;
## To use Apache for serving PHP uncomment the line bellow and
## comment out the above.
#proxy_pass http://phpapache;
}