upstream may not have port 80 ; upgrade from 1.2.1 to 1.4.1

Maxim Dounin mdounin at mdounin.ru
Mon Jun 3 11:06:46 UTC 2013


Hello!

On Mon, Jun 03, 2013 at 11:31:58AM +0200, Rasmus Glud Andersen wrote:

> Hi,
> 
> After running nginx 1.2.1 with the following configuration, I now get warnings when testing the same configuration under 1.4.1
> 
> Any advice on this would be highly appreciated. 
> 
> 
> [error]
> $ nginx -t -c /tmp/nginx.conf                                                                                                                                                                                                                         
> nginx: [warn] upstream "appcluster-secure" may not have port 80 in /tmp/nginx.conf:60
> nginx: configuration file /tmp/nginx.conf test failed
> 
> $ nginx -V
> nginx version: nginx/1.4.1
> TLS SNI support enabled
> configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx-error.log --user=www --group=www --with-ipv6 --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-scgi-temp-path=/var/tmp/nginx/scgi_temp --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp --http-log-path=/var/log/nginx-access.log --with-http_stub_status_module --add-module=/usr/ports/www/nginx/work/nginx-sticky-module-1.1 --with-pcre --add-module=/usr/ports/www/nginx/work/yaoweibin-nginx_tcp_proxy_module-b83e5a6 --with-http_ssl_module

You have to upgrade tcp proxy module to a newer version.

[...]

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx mailing list