id summary reporter owner description type status priority milestone component version resolution keywords cc uname nginx_version 442 proxy Rustam Yusubahmedov "Настроен прокси client->SSL->nginx->SSL->tomcat7 1. Версия http по умолчанию 1.0, приходиться ставить proxy_http_version 1.1; 2. proxy_method $request_method, отправляет на томкат метод <$request_method>; nginx.conf ------------------------------------- upstream tomcat { server 1.2.3.4:8443; } location /user/ { proxy_http_version 1.1; # 1 - вопрос # proxy_method $request_method; # 2 - вопрос proxy_set_header Host $http_host; proxy_set_header X_FORWARDED_PROTO https; proxy_ssl_session_reuse off; proxy_ssl_protocols SSLv3; proxy_ssl_ciphers ALL; proxy_pass https://tomcat/v1$request_uri; } ------------------------------------------------ ОШИБКА: Лог от томката, 81.95.142.75 - - [19/Nov/2013:15:50:57 +0400] ""$request_method /v1/user/login HTTP/1.0"" 405 999 при : # proxy_http_version 1.1; proxy_method $request_method; ------------------------------------------------ НОРМАЛЬНО: Лог от томката 81.95.142.75 - - [19/Nov/2013:15:42:40 +0400] ""POST /v1/user/login HTTP/1.1"" 200 207 при : proxy_http_version 1.1; # proxy_method $request_method; " defect closed minor nginx-core 1.3.x invalid Linux 3.8.0-33-generic #48-Ubuntu SMP Wed Oct 23 09:16:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux "nginx version: nginx/1.5.6 built by gcc 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) TLS SNI support enabled configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-mail --with-mail_ssl_module --with-file-aio --with-http_spdy_module --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro' --with-ipv6"