Have a dedicated server with nginx+php-fpm+mysql for several WP blogs. Some time ago I found a problem with adding comment from not authorised users. If user is not registred and will try to add comment, comment will be added . But redirect after this is not work. 502 error is displayed.
On Apache 1.3 this problem is not discovered.
config and version:
websrv# uname -a
FreeBSD websrv 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Tue Mar 20 00:53:32 UTC 2012
websrv# /usr/local/sbin/nginx -V
nginx version: nginx/1.0.14
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-debug --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_addition_module --with-http_dav_module --with-http_perl_module --with-http_realip_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-pcre
websrv# /usr/local/sbin/php-fpm -v
Failed loading /usr/local/lib/php/20060613/ZendExtensionManager.so: Cannot open "/usr/local/lib/php/20060613/ZendExtensionManager.so"
[19-Apr-2012 21:57:45] NOTICE: PHP message: PHP Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP 5.3.10 (fpm-fcgi) (built: Mar 21 2012 20:48:15)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
nginx config in atached files.
Where I do mistake?
Thanks,
Ivan