uwsgi_params not in nginx
- by Halit Alptekin
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