uwsgi --ini app.ini で起動後にアクセスするとページは問題なく表示されます。
uwsgi --ini app.ini &をした後exitで抜けてコンソールを閉じた後、アクセスするとInternal Server Errorが表示されます。
pymongoを使用していないページはexitで抜けた後でも問題なく表示されます。
connect=Falseは試しましたがやはりInternal Server Errorが表示されます。
考えらる原因は何でしょうか?
どうすれば良いのかわからず困っています・・・
よろしくお願いします。
さくらVPSを使用しています。
CentOS7.6です。
uwsgiのバージョンは2.0.18
pymongoのバージョンは3.8.0
flaskのバージョンは1.0.2です。
app.ini
app.ini
1 2[uwsgi] 3module = app 4callable = app 5master = true 6processes = 1 7socket = /tmp/uwsgi.sock 8chmod-socket = 666 9vacuum = true 10die-on-term = true 11http=xxx.xxx.xxx.xxx:5000/ 12enable-threads = true 13lazy-apps = true
回答1件
あなたの回答
tips
プレビュー