nginx (pronounced “engine-x”) is a lightweight, high-performance Web server/reverse proxy and e-mail (IMAP/POP3) proxy, licensed under a BSD-like license.

learn more… | top users | synonyms

1
vote
2answers
7k views

NginX redirect to PHP file if image does not exist on file server

This is what I am trying to do. I am not familiar with Nginx enough to create custom rewrite rules like you can with Apache. It would be greatly appreciated if someone could help me with the Nginx ...
1
vote
1answer
184 views

Nginx: different content to specific request method

I have the image in the URL (my server): http://www.example.com/example.jpg If my user put this image URL on his site: return the image (normal). If my user put this image URL on his browser: return ...
-5
votes
1answer
865 views

What the Nginx Control panel? [closed]

What the Nginx Control panel? What the Nginx Control panel? and Free thanks
2
votes
1answer
230 views

How to avoid leeching files?

I use Kleeja script to host files and noticed that certain files are downloaded many more times than the site's visit counter indicates. So I assume that the files are being leeched. The web server is ...
2
votes
1answer
440 views

Unlimited free sitemap generator for Nginx? [duplicate]

Possible Duplicate: Looking for a sitemap generator Google has listed a couple of SMGs but I don't want to try every single one to find the best. Google's own Sitemap Generator is released ...
3
votes
1answer
614 views

What does the '^' mean in “rewrite ^ http://test.com permanent;”

I found some configuration of nginx contains: if($args ^~ post=140) { rewrite ^ http://test.com/ permanent; } What does the ^ mean in rewrite ^ http://test.com/ permanent?
1
vote
1answer
722 views

Lightweight PHP-supporting webserver: Nginx, Cherokee, or Hiawatha?

I had asked this question on ServerFault, but nobody answered satisfactorily, so I re-ask here. I want a lightweight webserver. The requirements are: PHP support HTTPS support Virtual domains (we ...
1
vote
1answer
227 views

Redirecting to a specific page if the visitor used a certain name to resolve the server address

How can I get visitors redirected to a specific html page if the name used to resolve the server address was a specific one? I tried if ($http_host ~ /forbiddenname/) { rewrite ^(.*)$ ...
1
vote
1answer
605 views

Significant number of non-HTTP requests hitting my site

I'm seeing a significant number of non-HTTP requests hitting a site I just launched. They show up in the server (nginx) logs as non-ASCII and get rejected (correctly) with a 400 status. Here are ...
7
votes
2answers
22k views

Can I skip the PEM pass phrase question when I restart the webserver?

After buying a multi-domain SSL certificate I have started testing it with the Nginx webserver (following documentation in their SSL wiki page). Everything is fine, it works and I get a green ...
1
vote
3answers
309 views

Multi site wordpress setup

Currently my company has 3 blogs and what I did was to install three instances of wordpress over Apache/MySQL, in different directories. The problem is that I have a Slicehost VPS with 256Mb RAM with ...
12
votes
5answers
501 views

Is it worth looking into a webserver other than apache?

I've traditionally deployed my sites under apache, simply by default. I've heard things about NGinX though and I'm wondering under which conditions it would be superior. In addition to apache and ...