Запуск python скриптов

upstream python {
    server unix:/var/run/python-[[DOMAIN]].sock;
    #server 127.0.0.1:8001;
}
server {
 
                listen [[IP]]:80;
                server_name [[DOMAIN]];
                root /home/[[DOMAIN]]/httpdocs/web;
 
                access_log /var/log/nginx/[[DOMAIN]].access.log;
                error_log  /var/log/nginx/[[DOMAIN]].error.log error;
 
                charset utf-8;
 
                location / {
                        #auth_basic "Website development";
                        #auth_basic_user_file /home/[[DOMAIN]]/authfile;
                        uwsgi_pass  python;
                        include     uwsgi_params;
                }
 
}