<div dir="ltr"><div>Ah, that explains it. Thanks.<br><br></div>nginx -V<br>nginx version: nginx/1.6.2<br>TLS SNI support enabled<br>configure arguments: --with-cc-opt='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2' --with-ld-opt=-Wl,-z,relro --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_addition_module --with-http_dav_module --with-http_geoip_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_spdy_module --with-http_sub_module --with-http_xslt_module --with-mail --with-mail_ssl_module --add-module=/build/nginx-T5fW9e/nginx-1.6.2/debian/modules/nginx-auth-pam --add-module=/build/nginx-T5fW9e/nginx-1.6.2/debian/modules/nginx-dav-ext-module --add-module=/build/nginx-T5fW9e/nginx-1.6.2/debian/modules/nginx-echo --add-module=/build/nginx-T5fW9e/nginx-1.6.2/debian/modules/nginx-upstream-fair --add-module=/build/nginx-T5fW9e/nginx-1.6.2/debian/modules/ngx_http_substitutions_filter_module<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 11, 2016 at 10:44 AM, Andrew Hutchings <span dir="ltr"><<a href="mailto:ahutchings@nginx.com" target="_blank">ahutchings@nginx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alex,<br>
<br>
nginx -V uses stderr, so try:<br>
<br>
nginx -V 2>/tmp/out.txt<br>
<br>
This will redirect stderr to the file instead of stdout.<br>
<br>
Kind Regards<br>
Andrew<span class=""><br>
<br>
On 11/05/16 15:34, Alex Hall wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Ineeed. Sorry about that. The problem is that I can't capture the output<br>
of nginx -V, as--for some reason--the > symbol is only producing an<br>
empty file. I can't copy and paste directly from or to the prompt<br>
either. If you tell me what you're looking for in nginx -V, I can tell<br>
you that value, but there's a lot of information there.<br>
<br>
My site configuration file is:<br>
<br>
server {<br>
  include restrictions/localOnly;<br>
  listen 80;<br>
  server_tokens off;<br></span>
  server_name <a href="http://myapp.mysite.com" rel="noreferrer" target="_blank">myapp.mysite.com</a> <<a href="http://myapp.mysite.com" rel="noreferrer" target="_blank">http://myapp.mysite.com</a>>;<br>
  location / {<br>
    include uwsgi_params;<br>
    uwsgi_pass <a href="http://127.0.0.1:9876" rel="noreferrer" target="_blank">127.0.0.1:9876</a> <<a href="http://127.0.0.1:9876" rel="noreferrer" target="_blank">http://127.0.0.1:9876</a>>;<span class=""><br>
  }<br>
<br>
  location /static {<br>
    alias /var/www/myapp/app/static;<br>
  }<br>
<br>
<br>
}<br>
<br>
<br>
<br>
On Wed, May 11, 2016 at 3:24 AM, Francis Daly <<a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a><br></span><span class="">
<mailto:<a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a>>> wrote:<br>
<br>
    On Tue, May 10, 2016 at 05:09:21PM -0400, Alex Hall wrote:<br>
<br>
    Hi there,<br>
<br>
    > We may be finding the problem... I'm not sure what you mean by 'upstream<br>
    > service'.<br>
<br>
    Somehow, you tell nginx to talk to "the next server". It can be with<br>
    "proxy_pass" or "fastcgi_pass" or, most likely here, "uwsgi_pass".<br>
<br>
    "the next server" is the upstream, in this context.<br>
<br>
    And the directive is whichever *_pass you use here.<br>
<br>
    Cheers,<br>
<br>
            f<br>
    --<br></span>
    Francis Daly        <a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a> <mailto:<a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a>><br>
<br>
    _______________________________________________<br>
    nginx mailing list<br>
    <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a> <mailto:<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a>><span class=""><br>
    <a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
<br>
<br>
<br>
<br>
--<br>
Alex Hall<br>
Automatic Distributors, IT department<br>
</span><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a> <mailto:<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a>><span class=""><br>
<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
<br>
</span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Andrew Hutchings (LinuxJedi)<br>
Technical Product Manager, NGINX Inc.</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div>