我有一个Rails应用程序,它位于名为convergeops的文件夹中。我的Phusion Passenger设置为PassengerBaseURI
到/convergeops
。
80%的情况下,一切正常,但偶尔会出现No route matches
错误,如下所示:
DocumentRoot "/var/www/html/convergeops/public"
<Directory "/var/www/html/convergeops">
RailsEnv production
PassengerBaseURI /convergeops
PassengerAppRoot /var/www/html/convergeops
SetEnv RAILS_RELATIVE_URL_ROOT /convergeops
PassengerFriendlyErrorPages on
AllowOverride all
Allow from all
Options -MultiViews
Require all granted
</Directory>
知道为什么我会收到此路由错误吗?