We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to build the web server with nginx+flask+uwsgi , it works fine when I configure http ports, but it can't work when I change to socket ports.
http port config: ** [uwsgi]
base = /data/scripts/token_server buffer-size = 65535 post-buffering = 4096
app = app_10053 module = %(app)
http = 0.0.0.0:10053 socket-timeout=10
chdir = /data/scripts/token_server
callable = app
vhost = true
master = true processes = 4 threads = 2 listen = 1024
stats = 0.0.0.0:1717
pidfile = /var/run/uwsgi_10053.pid
logto = /data/logs/%n.log **
I only change "http = 0.0.0.0:10053" to "socket = 0.0.0.0:10053", it return the below error:
can anyone knows what's the matter?
The text was updated successfully, but these errors were encountered:
Socket is for uwsgi protocol, not http, checkout http-socket. Please don't use github for support requests.
Sorry, something went wrong.
No branches or pull requests
I try to build the web server with nginx+flask+uwsgi , it works fine when I configure http ports, but it can't work when I change to socket ports.
http port config:
**
[uwsgi]
application's base folder
base = /data/scripts/token_server
buffer-size = 65535
post-buffering = 4096
python module to import
app = app_10053
module = %(app)
socket file's location
start port and way
http = 0.0.0.0:10053
socket-timeout=10
chdir = /data/scripts/token_server
the variable that holds a flask application inside the module imported at line #6
callable = app
open viriturl host
vhost = true
setting processes master and son
master = true
processes = 4
threads = 2
listen = 1024
stats = 0.0.0.0:1717
pid file
pidfile = /var/run/uwsgi_10053.pid
location of log files
logto = /data/logs/%n.log
**
I only change "http = 0.0.0.0:10053" to "socket = 0.0.0.0:10053", it return the below error:
can anyone knows what's the matter?
The text was updated successfully, but these errors were encountered: