UWSGI container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
268 B

server {
listen 80;
#listen [::]:80 ipv6only=on;
root /usr/share/nginx/html/;
include uwsgi_params;
access_log /var/log/nginx/pythonapp.log;
location / {
uwsgi_pass 127.0.0.1:3330;
}
location /static/ {
autoindex on;
alias /home/python/app/static/;
}
}