Welcome! Log In Create A New Profile

Advanced

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

Francis Daly
June 26, 2013 04:52PM
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
Subject Author Posted

Nginx + Uwsgi Error: unknown directive "uwsgi_pass"

Josh Haimson June 24, 2013 05:28PM

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

GreenGecko June 24, 2013 05:30PM

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

MCoder June 25, 2013 10:04AM

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

Francis Daly June 26, 2013 04:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 154
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready