On Wed, 2011-08-24 at 13:22 +0400, Sergey Budnevitch wrote: > Hi, > > We have created apt and yum repositories for nginx users on Linux. They are available on http://nginx.org/packages/ > for CentOS/RHEL 5 and 6, Ubuntu 10.04 and Debian 6. I have updated the wiki with this info: http://wiki.nginx.org/Install Is there a particular reason there are both CentOS and RHEL repositorby Cliff Wells - Nginx Mailing List - English
For anyone interested, the guy who printed the Nginx t-shirts a couple of years ago finally put the remainder up on eBay: http://cgi.ebay.com/NGINX-t-shirt-/170654481676?pt=US_Mens_Tshirts&var=&hash=item6d700b391a#ht_500wt_1156 He went out of business, so this is it. Regards, Cliff _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/maiby Cliff Wells - Nginx Mailing List - English
On Sat, 2011-06-11 at 00:12 +0200, Tony wrote: > Hello! > > Is it possible to make the wiki look more like nginx.org? Like > neutral, clean and simple? If you have a mockup you want to share, I'm not opposed to discussing it. But be ready to do some work, and be prepared to have some of that work rejected or criticized. When you say "is it possible", well of course it is.by Cliff Wells - Nginx Mailing List - English
If this is something you're interested in helping with, I'd be glad to give you access. Contact me off-list. Cliff On Sat, 2011-06-11 at 10:43 -0400, robotman321 wrote: > Saw this topic through the mailing list, thought i'd chime in.. > > For one of my sites I had to engineer an algorithmic SQL query, > currently it's set to search through 3 different tables and return a > listby Cliff Wells - Nginx Mailing List - English
On Sat, 2011-06-11 at 12:11 +0200, Tony wrote: > No the design isn't fine. It looks like something right outta the cold > war. What's wrong with you?? The cold war is over and is fair game for retro-design inspiration. I wouldn't be opposed to some design efforts on the wiki (there are lots of pages that could use some layout help), but I'm not interested in changing it to look like craiby Cliff Wells - Nginx Mailing List - English
On Sun, 2011-06-05 at 14:19 -0400, pk899 wrote: > Cliff, thanks for this, but wouldn't that redirect the page before > setting the cookie? No, it just sets a header. I don't believe header order should matter in any case, so I expect this is some PHP issue with outputting headers. Cliff _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/by Cliff Wells - Nginx Mailing List - English
On Sun, 2011-06-05 at 13:04 -0400, pk899 wrote: > > I ran some tests, and it seems one of the issues is that if cookies are > being set in a page, then the "header(location: xyz)' command does not > work. Try setting the location header before setting the cookie: header('Location: ...'); setcookie('mycookie', ...); Cliff _______________________________________________ ngiby Cliff Wells - Nginx Mailing List - English
On Sun, 2011-06-05 at 13:04 -0400, pk899 wrote: > I ran some tests, and it seems one of the issues is that if cookies are > being set in a page, then the "header(location: xyz)' command does not > work. > > In apache, we got over this by setting output_buffering = on. > > What's the equivalent on nginx? That's a PHP setting: http://www.php.net/manual/en/outcontrolby Cliff Wells - Nginx Mailing List - English
On Fri, 2011-05-27 at 15:38 -0400, Jack Desert wrote: > Hi, > > > Can I get a raise of hands who is interested in a more cohesive partnership between these two sites: > > nginx.org > wiki.nginx.org > > and what thoughts you have on the best way to do it? Igor writes the documentation on nginx.org. wiki.nginx.org is just that: a wiki, managed by the communityby Cliff Wells - Nginx Mailing List - English
On Tue, 2011-05-24 at 09:50 -0500, Tony Zakula wrote: > Was there any info on how OpenVZ was setup or how many other > containers were running on the machine, Do we know what the load was > on the machine at each stage of the tests? We really do not know > anything. The web servers were not even setup the same. The hosting > outfit could see a system spike and automatically kickby Cliff Wells - Nginx Mailing List - English
On Tue, 2011-05-24 at 07:39 -0700, Cliff Wells wrote: > On Tue, 2011-05-24 at 09:25 -0500, Tony Zakula wrote: > > I am not complaining about OpenVZ. I deploy servers on a regular > > basis using OpenVZ. I also deploy using KVM, and others. There is a > > massive difference between OpenVZ and KVM in implementation, system > > stability, etc. They are entirely differenby Cliff Wells - Nginx Mailing List - English
On Tue, 2011-05-24 at 09:25 -0500, Tony Zakula wrote: > I am not complaining about OpenVZ. I deploy servers on a regular > basis using OpenVZ. I also deploy using KVM, and others. There is a > massive difference between OpenVZ and KVM in implementation, system > stability, etc. They are entirely different animals. You cannot > discount the hypervisor. The hypervisor can make oby Cliff Wells - Nginx Mailing List - English
On Wed, 2011-05-25 at 01:02 +1200, Ryan B wrote: > I'm guessing any form of vps setup's would have issues with > benchmarking.. I was hardly going to run this on my home connection or > pay for a uber dedi. Actually, it's a fine benchmark so long as both HTTP servers are running in the same environment. Can you extrapolate and draw conclusions about how they might run on different hardwby Cliff Wells - Nginx Mailing List - English
Sorry, had a kernel panic on that system in the wee hours. It's back up now. Cliff On Sun, 2011-05-15 at 14:46 +0100, Nuno Magalhães wrote: > I can connect to nginx.org but not to wiki.nginx.org, times out. > > _______________________________________________ > nginx mailing list > nginx@nginx.org > http://nginx.org/mailman/listinfo/nginx __________________________________by Cliff Wells - Nginx Mailing List - English
On Sun, 2011-05-01 at 20:26 -0400, Andy wrote: > Hi. > > I was always under the impression that Nginx is non-blocking for file > IO. Then I was told it wasn't. > > I'm considering using Nginx to serve static images. Pretty much every > connection will result in a file IO. If Nginx blocks for file IO, then > using Nginx here wouldn't be any better than using Apache, right?by Cliff Wells - Nginx Mailing List - English
On Thu, 2011-04-21 at 10:40 +0700, Edho P Arief wrote: > On Thu, Apr 21, 2011 at 8:36 AM, Cliff Wells <cliff@develix.com> wrote: > > Easy. What data does your database store? Quite probably usernames and > > passwords. A fundamental truth is that people often use the same > > passwords for multiple services. If you can obtain the password for a > > company's CMS orby Cliff Wells - Nginx Mailing List - English
On Wed, 2011-04-20 at 20:07 -0700, Payam Chychi wrote: > I was easy... So you would use some admins stupidity to backup 23 > years of experience? The fact that it happened to be the admin who was inept only made the attack simpler and more direct. It could have been any user's account. Any and all information is valuable in compromising a system. Databases are not only a source, but ofteby Cliff Wells - Nginx Mailing List - English
On Wed, 2011-04-20 at 17:43 -0700, Payam Chychi wrote: > Cliff Wells wrote: > > On Thu, 2011-04-21 at 04:22 +0700, Joe wrote: > > > >> Put a daily backup on your databases. :) > >> > > > > That doesn't really solve the issue. Once someone has compromised the > > database, they can usually leverage that to gain wider system access. > >by Cliff Wells - Nginx Mailing List - English
On Thu, 2011-04-21 at 04:22 +0700, Joe wrote: > Put a daily backup on your databases. :) That doesn't really solve the issue. Once someone has compromised the database, they can usually leverage that to gain wider system access. Cliff _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby Cliff Wells - Nginx Mailing List - English
On Wed, 2011-04-20 at 13:05 -0400, jacppe wrote: > Hi all. Anybody know how can I block some characters for avoid SQL > Injection using Nginx as web server o HTTP reverse-proxy? > Thanks a lot. You can't really, unless you write a custom module. Rewrite rules won't help since they don't deal with the POST body. There may be some filter module I'm unaware of that could do it, but I'd stilby Cliff Wells - Nginx Mailing List - English
Now that you've made a subversion repository available, will you continue to make development releases, or will "svn head" displace that? Thanks for all the great work and congratulations on this milestone. Cliff On Tue, 2011-04-12 at 13:19 +0400, Igor Sysoev wrote: > Changes with nginx 1.0.0 12 Apr 2011 > > *) Bugfix: a cache manaby Cliff Wells - Nginx Mailing List - English
On Sat, 2011-04-09 at 16:00 +0700, Edho P Arief wrote: > On Sat, Apr 9, 2011 at 4:55 AM, GZ1 <nginx-forum@nginx.us> wrote: > > One question, though... this didn't work: > > > > proxy_pass localhost:8080; > > > > This did: > > > > proxy_pass http://localhost:8080; > > Because the http:// is required. > > > > > What if I wantby Cliff Wells - Nginx Mailing List - English
On Mon, 2011-04-04 at 00:49 -0400, jamz wrote: > Just to clarify -- this is the tutorial I followed: > > http://endofweb.co.uk/2010/10/ubuntu-vps-nginx-mysql-php-fpm-phpmyadmin-wordpress/ > > In my vhost file I had to add client_max_body_size 60M, and in > nginx.conf I configured gzip but otherwise everything's about the same > setup. I'm on nginx 0.8.54. I think you must hby Cliff Wells - Nginx Mailing List - English
On Sun, 2011-04-03 at 18:00 -0400, jamz wrote: > In a Wordpress/Buddypress installation, I am having to go through all my > code and manually insert ampersands. For example, where there are links > to things such as "?r=user" I am having to convert that into "?&r=user" > in order for the link to do the required function. Or when it says > "?_wpnonce"by Cliff Wells - Nginx Mailing List - English
I just realized what you meant by "vc9" (wow, I haven't used Windows in a long time). Regardless, it's unimportant. Nginx and PHP are two distinct programs. Nginx does not load PHP as a module, it communicates with it via FastCGI. Therefore it does not matter whether Nginx was compiled Nginx with GCC, VC6, or VC9. Cliff On Wed, 2011-03-23 at 11:20 -0400, Kraiser wrote: > Helloby Cliff Wells - Nginx Mailing List - English
Nginx does not compile PHP code; PHP does (hint: Apache doesn't either). Cliff On Wed, 2011-03-23 at 11:20 -0400, Kraiser wrote: > Hello since php 5.3.6 now uses vc9 to compile the source code can nginx > do the same to have the integrity with latest PHP ? > > Posted at Nginx Forum: http://forum.nginx.org/read.php?2,185173,185173#msg-185173 > > > _________________________by Cliff Wells - Nginx Mailing List - English
On Sun, 2011-03-13 at 10:26 -0400, luca_tony wrote: > Dear , > I install nginx stable version on CentOs 5.5. > It works smoothly in 5 months without errors. > But yesterday, I dont know why I can not access my website. > After 10 minutes , I found that ngnix lose configure files. So that > ngnix can listen on port 80 and can not be started again. > Do you think someone haveby Cliff Wells - Nginx Mailing List - English
On Tue, 2011-03-08 at 14:37 -0500, Lukas0907 wrote: > My point is: The bad example does something, which is extremely > inefficient but it just works. It has no side effects concerning > security. All files are parsed by PHP, so no unparsed configuration > files can leek. > > The "good example" only handles requests to the FastCGI instance if the > file or directorby Cliff Wells - Nginx Mailing List - English
On Tue, 2011-03-08 at 19:09 +0000, António P.P.Almeida wrote: > That's a generic example. The pitfalls page is meant to warn you > against some inadvisable practices. It's not meant to be a config > recipe. You should always adapt your config to your application. > > As a rule all PHP (or whatever language file) scripts should be > enumerated in the config, if possible with exby Cliff Wells - Nginx Mailing List - English
On Fri, 2011-02-04 at 17:35 -0500, Irina wrote: > The problem is solved. nginx does not send any request to thr server if > the file extension is .png or .jpg. This isn't true, unless you've configured it this way. > The solution is to sedn this request > if file name is matched up with image file extension. Add this line to > nginx.conf: > location ~ \.png$ { >by Cliff Wells - Nginx Mailing List - English