Questions tagged [uwsgi]

Questions regarding uWSGI which is a full stack for building hosting services

The uWSGI project

The uWSGI project aims at developing a full stack for building hosting services.

Application servers (for various programming languages and protocols), proxies, process managers and monitors are all implemented using a common api and a common configuration style.

Thanks to its pluggable architecture it can be extended to support more platforms and languages.

Currently, you can write plugins in C, C++ and Objective-C.

The “WSGI” part in the name is a tribute to the namesake Python standard, as it has been the first developed plugin for the project.

Versatility, performance, low-resource usage and reliability are the strengths of the project (and the only rules followed).

Github Docs

343 questions
0
votes
2 answers

Extra 301 redirect with nginx and uwsgi

I've the following nginx conf: server { server_name tawp.in; location / { rewrite ^/r/([^/]*)$ /s/ta/$1; rewrite ^/e/(.*)$ /en/ta/$1; uwsgi_pass unix:/tmp/uwsgi.sock; uwsgi_param UWSGI_CHDIR…
Yuvi
  • 101
  • 3
0
votes
2 answers

User has problem with loading speed of website

We are using nginx as reverse proxy. There are 4 servers (1x nginx, 2x uWSGI, 1x DB + Memcached). One user told me some time ago, that he has for 3 months problems with loading speed of website. Every request takes 5-10 secs, when for me it takes…
ThomK
  • 45
  • 1
  • 1
  • 5
0
votes
2 answers

uWSGI Virtualhost mode with touch-reload

So far I have been experimenting with uWSGI to replace a lot of kludgy server code that builds and does setup for Python wsgi applications under supervise. I am running dozens of these small projects (Django, Flask, other) at once. Currently I am…
Xealot
  • 103
  • 4
0
votes
1 answer

uWSGI touch-reload feature not working with 100% CPU

On my development box, I have configured uWSGI to reload every time a file gets touched (using the --touch-reload command line argument). When I specify a non-existent file, I get a warning in the uWSGI logs. If I specify an existing file (say,…
Romain
  • 115
  • 1
  • 6
0
votes
3 answers

Script (bash) to automatically start/restart nginx (if it fails)

Can someone help me to setup nginx on my box? I have compiled it (i'm using it to run Django app using uwsgi_rs). Its running OK but i have to start it manually. How can i setup it to autorun? And start it again (automatically) if it ware killed?…
NilColor
  • 103
  • 1
  • 3
0
votes
1 answer

django/uwsgi/nginx invalid HTTP protocol

Any idea why this error happen when accessing nginx? uwsgi is running with the command: /usr/sbin/uwsgi --socket /home/user/run/project.sock --chmod-socket --pidfile /home/user/project/uwsgi.pid --module project.wsgi_app --pythonpath /home/user/ -p…
user66208
  • 1
  • 1
0
votes
1 answer

Cant start uwsgi in ubuntu 10.10

When I run "/etc/init.d/uwsgi start" nothing happens, the terminal just gives me a new line and no output. There is no sign of uswsgi in ps aux as well and /var/log/uwsgi.log is empty I'm folowing this…
Victor
  • 11
  • 3
0
votes
2 answers

Configure uWSGI (+cherokee) to run as a specified user?

I have a cherokee serving django app using uWSGI. I want the uwsgi process user and group to be specified by me - how do I do this? (now uwsgi runs as 'www-data' user)
grucha
  • 1,043
  • 1
  • 9
  • 9
0
votes
0 answers

Why does uwsgi listen queue fill up when I increase the replicas to 2?

So, I have a very basic Python Flask app with uWSGI where upon application load, a background job reads data into memory and requests just serve this data (no updates). This data is probably ...1200kB in total When I deploy this to our shared…
Saturnian
  • 111
  • 1
0
votes
0 answers

How to set up a server with cgit on the frontend and git-http-backend on the backend without nginx

I want to set up a git server with cgit on the frontend and git-http-backend on the backend. I want to avoid using Nginx/Apache/lighthttpd/etc. right now, and just get it working with uwsgi right now. Here's what I have so…
0
votes
0 answers

How to add multiple ip and add sub-domain in nginx?

I was following the nginx,uwsgi with flask & docker tutorial. My nginx config file contains: server { listen 5000; server_name 19X.X.X.X; client_header_buffer_size 5M; large_client_header_buffers 4 5M; client_max_body_size 75M; location / { …
siam
  • 1
  • 1
0
votes
0 answers

Nginx and uWSGI security vulnerabilities

I'm running Nginx and uWSGI on my Ubuntu 18.04.6 LTS server. I checked the version of Nginx and it's 1.14.0. The uWSGI version I'm not sure, how do I check it? And is there a reason to upgrade Nginx and uWSGI for security reasons? Is there a known…
Uri
  • 821
  • 1
  • 8
  • 15
0
votes
1 answer

Unix socket communication with Apache 2.4.51 and Flask App using Uwsgi returning "404 Not Found"

I'm using Apache in the front as web server and running python flask application at the back end and they communicate using Unix socket as mentioned in the link below for mod_proxy_uwsgi module and i have loaded both mod_proxy and mod_proxy_uwsgi as…
Jai
  • 1
  • 2
0
votes
0 answers

uwsgi command not found

I've went through every single tutorial on the internet, all of them suggest: pip install uwsgi But after that, I keep getting: bash: uwsgi: command not found I have tried installing it directly: yum -y install uwsgi Tried via pip &…
KiDo
  • 145
  • 9
0
votes
0 answers

How do I configure uwsgi as a production WSGI server?

I have a flask app that I want to run using uwsgi. I am also managing the uwsgi with supervisor. here is the my supervisor.conf file [program:myapp] command=/opt/python_envs/apps/bin/uwsgi --ini…
1 2 3
22
23