On 1/1/10 7:59 AM, Marcus Clyne wrote: > Hi, > > The forum (forum.nginx.org) appears to be having problems - at least I > can't view more than the header 'Welcome to Nginx'. Is anyone else > experiencing the same problems? My apologies. I'm aware of the issue. We had a problem with abnormal resource consumption by the script. I haven't had a solid couple of hours to troubleshootby Jim Ohlstein - Nginx Mailing List - English
Are you saying this works without the rewrites but fails with the rewrites?by Jim Ohlstein - How to...
Hello, Please post your entire nginx.conf and any fastcgi parameters you are passing. Are you certain that PHP is running?by Jim Ohlstein - How to...
I recently had a spike in requests and saw many lines like this in the access log: 67.249.108.42 - - [25/Dec/2009:13:15:57 -0500] "GET /forums/forumdisplay.php?s=&forumid=2 HTTP/1.1" 301 185 "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; (R1 1.6); .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"by Jim Ohlstein - Nginx Mailing List - English
My apologies for the recent outage. We were moving to a new server and the delay was unavoidable.by Jim Ohlstein - Announcements
kyleb Wrote: ------------------------------------------------------- > Maybe overzealous bbcode stripping bug? It's not a bug and I'd hardly call it "overzealous". It's the way bbcode is stripped in every forum software with which I've worked. The alternative is to have it show all bbcode in emails, definitely a worse solution. I'm not a "PHP guy" (I can hack a little bby Jim Ohlstein - Site Suggestions
Danny Trinh wrote: > Hello group, > > I like nginx. I have a dumb question: Is there a way that I can setup to > rotate the nginx logfiles? My access.log is growing over 700MB. Use logrotate(8) or use a shell script. Remember that you need to run $ kill -USR1 /path/to/nginx in order to re-open the log file. > > Thanks, > > > > _Danny Trinh_ > > Linuby Jim Ohlstein - Nginx Mailing List - English
I'm not sure what you mean by "main stream". Rambler is a pretty large site. Alexa ranks it 112 in the world and sixth in Russia. But... [*] cnn.com serves some content with nginx* [*] sourceforge.net [*] whitepages.com [*] hulu.com* [*]meebo.com [*]wordpress.com* [*]youporn.com* [*]redtube.com* [*]twitpic.com* [*]xhamster.com* * In Alexa top 100 US sites.by Jim Ohlstein - New Member Introductions
Jim Ohlstein Wrote: ------------------------------------------------------- > nerdgrind wrote: > Exactly. > > > > Those are the facts Mike. Your support for > php-fcgi sounds more like an opinion than a > statement based on fact. > > This may be but your claim that there are zero > complaints with Apache > and that Apache is "rock solid"by Jim Ohlstein - Nginx Mailing List - English
nerdgrind wrote: > Apache is rock solid. That's a fact. Keep reading to see how many web sites support this fact. > > php-fcgi is unstable, and unreliable. That's a fact. It's no joke when a web site goes down on a production server. Down time is lost money. > > The forums are saturated with complaints about the instability and unreliability of php-fcgi, etc., serving PHP for Nginby Jim Ohlstein - Nginx Mailing List - English
Michael Shadle wrote: > On Sat, Dec 5, 2009 at 1:58 PM, Steve <steeeeeveee@gmx.net> wrote: > >> Then Softlayer does not understand anything about security. Security is not a tool nor is it something you apply once and then forget about it. Security is a process. You need constantly to take care of it. Some time it is technical (hardware that can be installed, software that can bby Jim Ohlstein - Nginx Mailing List - English
OS is Linux 2.6.18 x86_64 ../configure command: ../configure --pid-path=/usr/local/nginx/logs/nginx.pid --sbin-path=/usr/local/sbin/nginx --without-http_rewrite_module --without-http_charset_module --without-http_gzip_module --without-http_geo_module --without-http_auth_basic_module --without-http_userid_module --without-http_autoindex_module --without-http_proxy_module --without-http_fastcby Jim Ohlstein - Nginx Mailing List - English
Mike, I said this to you privately and now I'll say it publicly. You claim that your clients who are using php-fpm include more than one Fortune 50 company. Where's their money? It seems they have deeper pockets than any of us small webmasters and developers would. Why would I want to contribute money when they haven't? This project has been extremely haphazard since Andrei left. Adding anotherby Jim Ohlstein - Php-fpm Mailing List - English
vburshteyn wrote: > Hi, > Thanks in advance. > > I am running nginx 7.61 > > I went through all the config files and delete all the access log entries. Yet every time i restart nginx it creates a new /usr/local/nginx/logs/access.log file. > > Any idea how to fix this? http://wiki.nginx.org/NginxHttpLogModule > > Thanks, > > Posted at Nginx Forum: http://by Jim Ohlstein - Nginx Mailing List - English
Igor Sysoev wrote: > On Mon, Nov 16, 2009 at 04:54:54PM +0100, Steve wrote: > >> -------- Original-Nachricht -------- >>> Datum: Mon, 16 Nov 2009 16:54:26 +0300 >>> Von: Igor Sysoev <is@rambler-co.ru> >>> An: nginx@sysoev.ru >>> Betreff: nginx-0.8.25 >>> Changes with nginx 0.8.25 16 Nov >>&by Jim Ohlstein - Nginx Mailing List - English
Igor Sysoev wrote: > Changes with nginx 0.8.22 03 Nov 2009 > > *) Feature: the "proxy_bind", "fastcgi_bind", and "memcached_bind" > directives. Can you describe these and give a configuration sample/example? > > *) Feature: the "access" and the "deny" directives support IPby Jim Ohlstein - Nginx Mailing List - English
This might be of interest to you: http://wiki.nginx.org/NginxHttpPushModuleby Jim Ohlstein - How to...
I'm not sure why this would be happening. The configuration looks fairly generic. You can try adding something like: location ~* \.(jpg|jpeg|gif|css|png|js|ico|html)$ { expires max; } in order to force nginx to serve those files directly. You might also try putting the rewrite directive outside a location block. I'm not sure if either will work but worth a try.by Jim Ohlstein - Migration from Other Servers
Please post the full configuration file.by Jim Ohlstein - Migration from Other Servers
androo Wrote: ------------------------------------------------------- > Interesting idea. Is try_files less > resource-intensive? Yes Just curious why it would be > more efficient. It has to do with how requests are parsed. Igor is ADAMANT about it (he really hates using "if's" in these situations). In order to understand exactly I suspect that I would need to be aby Jim Ohlstein - How to...
A simpler regex can be seen at http://rubular.com/regexes/11064. Also, your "abc.php" needs a forward slash. You can try: location / { if (!-e $request_filename) { rewrite ^/abc\/(.*)\/(.*)\/(.*)$ /abc.php?a=$1&b=$2&c=$3 last; } } If this is the only rewrite and you are using a recent version of nginx you might use a "try_files" directive wby Jim Ohlstein - Migration from Other Servers
I know that it is planned but I don't believe that a public timeline exists. Maxim Dounin has done some work on module for upstream keepalive at http://mdounin.ru/hg/ but I don't know how well it's been tested in production.by Jim Ohlstein - Other discussion
Currently nginx only supports http/1.1 connection with client. Backend connections are http/1.0. See http://wiki.nginx.org/NginxHttpProxyModule.by Jim Ohlstein - Other discussion
You can try gzip for html files.by Jim Ohlstein - Migration from Other Servers
Can't you use the Lenny repository? That at least has a recent 0.6.x series version if I recall correctly. I'm not really a Debian guy so I'm not certain of the feasibility of doing that. Also, you should try increasing the number of worker processes to 4, one for each core. I'd like to see your full config and your benchmarks if you can post them.by Jim Ohlstein - Migration from Other Servers
The easiest method is to use logrotate(8). Alternatively you can write your own shell script to do it. Something like: #!/bin/bash # set nginx pid to a variable pid=`cat /path/to/nginx.pid` cd /path/to/nginx-logs # remove the oldest log file and rename others rm -f *7.gz rename .6.gz .7.gz *.6.gz rename .5.gz .6.gz *.5.gz rename .4.gz .5.gz *.4.gz rename .3.gz .4.gz *.3.gzby Jim Ohlstein - How to...
You may find it more efficient with a "try_files" directive. location ~ /gallery3/ { root /home; index index.html index.php; try_files $uri $uri/ /gallery3/index.php?kohana_uri=$1; }by Jim Ohlstein - How to...
Wiki is back up. I never tried using including a file containing rewrite rules but something like location /some_location { include /path/to/rewrite.txt; ... } should work.by Jim Ohlstein - How to...
That's going to be difficult. I don't believe nginx understands spaces in URI's. Recoding the app might be best.by Jim Ohlstein - Migration from Other Servers
Hiiragi Wrote: ------------------------------------------------------- > Is there anything I'm missing? Yes, some forward slashes. Try: location / { root /home/site; index news.php; rewrite ^/index.(php|html)$ /news.php last; rewrite ^/logout.(html)$ /user/login.php?do=logout last; rewrite ^/news.html$ /news.php last; rewrite ^/news/(.*),(.*).htmby Jim Ohlstein - Migration from Other Servers