If I come here, it is that I 'm going crazy.
I use nginx to reverse proxy . Everything works fine , but from the moment the size of the URL is too long (nothing crazy , as it must do in the 1000 characters) it no longer works.
Below the message ok a URL, and the message when it blocks .
OK :
2015/12/29 18:12:41 [debug] 1036#2784: *23 WSARecv: fd:420 rc:0 1378 of 131072
KO :
2015/12/29 18:03:05 [debug] 1036#2784: *2 WSARecv: fd:408 rc:-1 0 of 131072
2015/12/29 18:03:05 [info] 1036#2784: *2 WSARecv() failed (10054: FormatMessage() error:(15105)) while waiting for request, client: 2.12.36.49, server: 0.0.0.0:80
Here is the configuration I use:
http {
include C:/nginx-1.8.0/conf/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log C:/nginx-1.8.0/logs/access_main.log main;
sendfile on;
tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
tcp_nodelay on;
gzip on;
gzip_comp_level 5;
gzip_http_version 1.0;
gzip_min_length 0;
gzip_types text/plain text/html text/css image/x-icon application/x-javascript;
gzip_vary on;
include C:/nginx-1.8.0/conf.d/*.conf;
server {
listen 80;
server_name localhost;
access_log C:/nginx-1.8.0/logs/web2print.access.log;
error_log C:/nginx-1.8.0/logs/korben.nginx_error.log debug;
location /web2print/ {
proxy_pass http://192.100.100.82:6080/web2print/;
}
}
}
If you could help me , I 'd appreciate it .
Thank you
Gorki
I use nginx to reverse proxy . Everything works fine , but from the moment the size of the URL is too long (nothing crazy , as it must do in the 1000 characters) it no longer works.
Below the message ok a URL, and the message when it blocks .
OK :
2015/12/29 18:12:41 [debug] 1036#2784: *23 WSARecv: fd:420 rc:0 1378 of 131072
KO :
2015/12/29 18:03:05 [debug] 1036#2784: *2 WSARecv: fd:408 rc:-1 0 of 131072
2015/12/29 18:03:05 [info] 1036#2784: *2 WSARecv() failed (10054: FormatMessage() error:(15105)) while waiting for request, client: 2.12.36.49, server: 0.0.0.0:80
Here is the configuration I use:
http {
include C:/nginx-1.8.0/conf/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log C:/nginx-1.8.0/logs/access_main.log main;
sendfile on;
tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
tcp_nodelay on;
gzip on;
gzip_comp_level 5;
gzip_http_version 1.0;
gzip_min_length 0;
gzip_types text/plain text/html text/css image/x-icon application/x-javascript;
gzip_vary on;
include C:/nginx-1.8.0/conf.d/*.conf;
server {
listen 80;
server_name localhost;
access_log C:/nginx-1.8.0/logs/web2print.access.log;
error_log C:/nginx-1.8.0/logs/korben.nginx_error.log debug;
location /web2print/ {
proxy_pass http://192.100.100.82:6080/web2print/;
}
}
}
If you could help me , I 'd appreciate it .
Thank you
Gorki