1
我试图在生产环境中启动Perl Dancer应用程序。如何使用uWSGI设置Perl Dancer环境(与nginx一起使用)
我调用uWSGI如下:
uwsgi --socket 127.0.0.1:3031 --psgi ./bin/app.pl
,并同时应用加载和运行,因为没有环境被设置为所有(即使不是默认的开发环境),它是充满了错误。
,不会出现这些工作:
uwsgi --socket 127.0.0.1:3031 --psgi ./bin/app.pl --env production
uwsgi --socket 127.0.0.1:3031 --psgi ./bin/app.pl production
仅供参考,一切正常,使用plackup &接龙:
plackup -E production -s Starman --workers=10 -l /tmp/app.sock -a ./bin/app.pl
我已经通过这个阅读: http://uwsgi-docs.readthedocs.org/en/latest/Options.html但不会出现成为舞者专用的环境设置,例如Python。
想法? Thx提前!