Opened 10 years ago

Closed 10 years ago

#634 closed defect (worksforme)

can't redirect long length URL http -> https

Reported by: Owned by:
Priority: major Milestone:
Component: nginx-module Version: 1.4.x
Keywords: Cc:
uname -a: Linux oaser1 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 19:59:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx 1.4.4
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/disk1/nginx --with-http_ssl_module --with-http_xslt_module --with-http_stub_status_module --user=nginx --group=nginx --add-module=/root/rpmbuild/BUILD/nginx-1.4.4/modules/echo-nginx-module-0.47 --add-module=/root/rpmbuild/BUILD/nginx-1.4.4/modules/nginx-upstream-fair-master --add-module=/root/rpmbuild/BUILD/nginx-1.4.4/modules/nginx_upstream_check_module --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log


can't redirect long length URL from http to https.

nginx version 1.4.4 x86_64 (CentOS6.5 x86_64).

log_format ttt '$remote_addr - $remote_user [$time_local] '

'"$request" $status $bytes_sent $body_bytes_sent '
'"$http_referer" "$http_user_agent" "$gzip_ratio" "$request_length" "$request_method" "$request_completion" "$connection"';

server {

listen 80;
client_body_buffer_size 16K;
client_header_buffer_size 16k;
client_max_body_size 16m;
large_client_header_buffers 16 8k;

charset utf-8;

rewrite https://$server_name$request_uri? permanent;
access_log /var/log/web/mydomain-http-access.log ttt;
error_log /var/log/web/mydomain-http-error.log;



Change History (2)

comment:1 by Valentin V. Bartenev, 10 years ago

What do you mean by can't redirect? What happens? Any errors? Could you elaborate the problem a bit more?

comment:2 by Maxim Dounin, 10 years ago

Resolution: worksforme
Status: newclosed

Feedback timeout.

Note: See TracTickets for help on using tickets.