Tensorflow nginx/站点可用性问题与来自不同主机的子域有关

Tensorflow nginx/站点可用性问题与来自不同主机的子域有关,tensorflow,nginx,flask,Tensorflow,Nginx,Flask,我在bluehost上有一个域。我正在尝试在Digital Ocean上开发一个flask应用程序。到目前为止,使用nginx/sites available/webApp,一切都很好: server { listen 80; server_name therapist.vrifyhealth.com www.therapist.vrifyhealth.com; location / { include proxy_params; proxy_pass http://unix:

我在bluehost上有一个域。我正在尝试在Digital Ocean上开发一个flask应用程序。到目前为止,使用nginx/sites available/webApp,一切都很好:

server {
listen 80;
server_name therapist.vrifyhealth.com www.therapist.vrifyhealth.com;

location / {
    include proxy_params;
    proxy_pass http://unix:/root/webApp/webApp.sock;
}
}
我已经查看了,但未能提供帮助,因为我正在尝试运行flask应用程序。有没有办法用服务器块运行flask应用程序?我的BH子域指向这个液滴的IP。我可以将站点部署为独立IP吗?有什么建议吗

--我正在通过根目录运行,因为我在站点上的用户在运行tensorflow时遇到问题--