Skip to content
Advertisement

Tag: uwsgi

uWSGI server does not run with & argument

I build a docker image which runs flask on an uWSGI server. I have a uwsgi.ini file with configuration. When I use CMD [“uwsgi”, “–ini”, “uwsgi.ini”] in the Dockerfile, everything works fine and the server runs, I can access my flask app via the browser. The only problem is that I cannot use the container’s bash while it’s running, as

Nginx returns 404 not found when access file on server

I have a server(Ubuntu 16.04) and a user called coxier. I configure Nginx to Proxy Requests. I create a file etc/nginx/sites-available/myproject. In this flask project, server receive request and then generate a .gif file for this request. At first I directly I use flask#send_file to send gif file about 1MB, however speed is very slow. So I decide to optimize

UWSGI https configuration for ubuntu

I have django app that is running using the following uwsgi configuration in redhat 7.3: However, when I run it on Ubuntu 16.04.1 LTS, I got the following error: Does the error means that uwsgi fail to bind the port? Is there a special way of using “shared-socket” in ubuntu? I need to have this running on both port 443

Advertisement