我正试图将Phusion客运企业安装到一个阿尔卑斯3.8集装箱映像中,方法是遵循RubyGems独立安装的正式文档,如下所示:
但是,由于我的Nginx配置模板包含geoip_*指令,乘客无法启动,乘客独立的嵌入式Nginx核心不支持这些指令:
*** ERROR: the Nginx configuration that Phusion Passenger Standalone generated internally contains problems. The error message returned by the Nginx engine is:
nginx: [emerg] unknown directive "geoip_country" in nginx.conf:57
nginx: configuration file nginx.conf test failed
This probably means that you have a problem in your Nginx configuration template. Please fix your template.既然乘客正在从头开始编译所有的东西,我如何确保为内部Nginx核心启用GeoIP?
发布于 2018-11-30 09:30:21
使此工作的最佳方法是使用Nginx乘客,并结合您自己的Nginx安装。这样,您就可以控制要启用的模块。
https://stackoverflow.com/questions/53550229
复制相似问题