I have a Python-application with a Bottle-webserver running with port 8080. Now i will connect Nginx to the Bottle-webserver with a wsgi-file.
Now, i have a wsgi-file, but how can i execute this with Nginx? Which commands in the Nginx- configuration (default.conf) do i need? Maybe my way of thinking is wrong. Can someone give me some clarity?
I have this in the Nginx-config:
server {
location / {
include uwsgi_params;
uwsgi_pass 127.0.0.1:8080;
}
}
For now i see the error (111: Connection refused) while connecting to upstream)
in the logs.
Anyone an idea?