1
Rails環境中的公用文件夾下有一個文件,名爲dispatch.fcgi
。這個特定文件的意義是什麼?Rails中dispatch.fcgi文件的重要性
我打開該文件,它有這個
# # Default log path, 50 requests between GC.
# RailsFCGIHandler.process! nil, 50
#
# # Custom log path, normal GC behavior.
# RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
#
require File.dirname(__FILE__) + "/../config/environment"
require 'fcgi_handler'
RailsFCGIHandler.process!
不能明白這是什麼一樣。有人可以解釋嗎?