Hi, I hope to rewrite sin.jsp?code=111&x=2 to sin/111.htm I tried the two ways below but it is still failed. Please help me out. Thanks very much! rewrite "^/sin.jsp?code=([0-9]+)&x=([0-9]+)$" /sin/$1.htm last; rewrite "^/sin\.jsp\?code=([0-9]+)&x=([0-9]+)$" /sin/$1.htm last;by rayallenwu - Nginx Mailing List - English
Thanks Jimmy, The problem has been solved by adding "buffer=32k" for access_log http://wiki.nginx.org/NginxHttpLogModule#access_logby rayallenwu - Nginx Mailing List - English
The config files are same. I copy & paste from one to another one. Nginx version is same as well. Nginx 0.7.63 for windows OS is Windows 2003. There is few difference. The abnormal one is 2003 enterprise version while the normal one is standard version.by rayallenwu - Nginx Mailing List - English
Thanks Jimmy, It seems not double requests. Although every request shows twice in Nginx's log, in my backend (Tomcat)'s log, only 1 record for each request. So I guess, my server doesn't received double requests, but just Nginx outputs logs double times. The weird thing is in one of my Windows 2003 server the log is normal but in my another one, the log shows two times. The config files aby rayallenwu - Nginx Mailing List - English
In my log files, every http request shows double times. 122.193.13.10 - - [27/Nov/2009:13:39:46 +0800] "GET /images/fanfou.gif HTTP/1.1" 200 149 "http://www.xxx.com" "Mozilla/4.0..." 122.193.13.10 - - [27/Nov/2009:13:39:46 +0800] "GET /images/fanfou.gif HTTP/1.1" 200 149 "http://www.xxx.com" "Mozilla/4.0..." I'm using Nginx 0.7.63by rayallenwu - Nginx Mailing List - English
I'm using Nginx 0.7.63 on Windows 2003. It seems that 1024 worker_connections is the maximum number for Windows. Does anyone know how to increase it on Windows? Because my error_log is full of "1024 worker_connections are not enough". :( Any suggestion will be appreciated!by rayallenwu - Nginx Mailing List - English