Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: Nginx + Uwsgi Error: unknown directive "uwsgi_pass"

$
0
0
On Wed, Jun 26, 2013 at 10:55:24AM -0400, Josh Haimson wrote:

Hi there,

> The odd thing is that 'uwsgi_pass' works perfectly on a different machine
> running the same OS and the same version of nginx.

Which file on the filesystem is the "works perfectly" nginx binary?

/usr/sbin/nginx, /usr/local/sbin/nginx, /usr/local/nginx/sbin/nginx,
something else?

What is the output of that "nginx -V"?

Which file on the filesystem is the "unknown directive" nginx binary?

What is the output of that "nginx -V"?

> Any ideas on why this might be?

The nginx you run on the second system was not built the same way as
the one on the first system.

There aren't many other ways you can get the output that you report.

(Might you have installed the distribution "nginx" on one machine, and
"nginx-full" on the other, for example? Or did you build the binary
yourself?)

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>