uwsgi_params not in nginx
Posted
by
Halit Alptekin
on Server Fault
See other posts from Server Fault
or by Halit Alptekin
Published on 2012-09-22T09:21:23Z
Indexed on
2012/09/22
9:39 UTC
Read the original article
Hit count: 722
Firstly I setup nginx and uwsgi via apt-get.
And,I add the line to nginx conf file(/etc/nginx/conf.d/default.conf) like below line;
server {
listen 80;
server_name <replace with your hostname>;
#Replace paths for real deployments...
access_log /tmp/access.log;
error_log /tmp/error.log;
location / {
include uwsgi_params;
uwsgi_pass 127.0.0.1:8889;
}
}
I had a error;
Starting nginx: [emerg]: open() "/etc/nginx/uwsgi_params" failed (2: No such file or directory) in /etc/nginx/conf.d/default.conf:11
configuration file /etc/nginx/nginx.conf test failed
If I add uwsgi_params file from uwsgi's source;I had a simple error.
Thanks
© Server Fault or respective owner