我剛看到一個麒麟服務器配置這樣的,在我的新項目的代碼庫: worker_processes ENV['UNICORN_WORKERS'].to_i || 2
preload_app true
timeout 30
after_fork do |server, worker|
Thread.new do
begin
RABBIT_CONNECTION = Bu
當在本地運行我的rails應用程序時,一切工作正常。但是,在部署到服務器時,出現以下錯誤: ActionController::UnknownFormat (TasksController#index is missing a template for this request format and variant.
它與所有頁面類似。可能是什麼問題呢? Rails版本是5.0.1。部署的應用