nginx (pronounced “engine x”) is a lightweight web server and a reverse proxy server

learn more… | top users | synonyms

1
vote
1answer
550 views

Easy install of PHP/MySQL/NGINX server on Linux

So I want to get my own server running but before I spend the money for one I want to make sure I can get the stuff I need installed. Is there any packages for linux like there are for windows to ...
0
votes
1answer
4k views

Uninstall nginx on Ubuntu 10.04.3 LTS remote machine

I was given a server to setup, but this server was not reset, and the provider is quite slow on resetting it, so I have to completely uninstall some stuff it has, one of which is nginx. I had a few ...
5
votes
3answers
10k views

How to I get variables from location in nginx?

The location from nginx conf: location ~/photos/resize/(\d+)/(\d+) { # Here var1=(\d+), var2=(\d+) } How to I get variables from location in nginx?
3
votes
4answers
4k views

Configure Fedora 15 Linux to allow access via port 80 from other computers

I am trying to make my home server accessible to the whole web. I have installed Nginx on my Fedora 15 64-bit Linux machine, and it works with localhost but it doesn't work online or allow other ...
24
votes
5answers
20k views

How do I start nginx on port 80 at OS X login?

I installed Nginx using homebrew and after completing the installation the following message was displayed: In the interest of allowing you to run `nginx` without `sudo`, the default port is set to ...
1
vote
1answer
2k views

Rotate nginx logs every 30 minutes with logrotate

Can I rotate the nginx log every 30 minutes? Like: 10:30.log 11:00.log 11:30.log etc.
2
votes
2answers
2k views

Nginx Reverse Proxy Apache Benefits

Can anyone explain why putting up nginx and reverse proxying Apache is faster than just plain Apache? I've already moved all my static files to s3 (I heard nginx is better at handling static files), ...
4
votes
1answer
5k views

Subversion over https + WebDAV on nginx

I wonder how do I create SVN repo and let users access it over http[s] + WebDAV on nginx I did not find any good tutorials describing this process whilst there are a lot of answers on this scheme but ...
1
vote
1answer
989 views

How do I add /opt/nginx to my path variables, so I can use nginx in Mac OS X?

I installed nginx recently, and it is found at /opt/nginx... asking "which nginx" doesn't find nginx, and I can't figure out how to use nginx. I think it's because nginx is installed in the opt ...
3
votes
1answer
25k views

How to uninstall Nginx (installed from source) on CentOS?

I compiled Nginx now I want to remove or uninstall it. How can I do that? I usually don't install software by compiling it from source.
1
vote
1answer
500 views

What is the difference between using `root /dir/name` and `alias /dir/name` in nginx?

It seems like root and alias do the same things by definition, but for some reason when I use root, I get a 404, but it works fine when I use alias. Any ideas?
0
votes
1answer
3k views

nginx + OpenSSL Install

CHANGES LICENSE README conf contrib man openssl-1.0.0d pcre-8.12 src/ CHANGES.ru Makefile auto configure html/ objs/ openssl-1.0.0d.tar.gz pcre-8.12.tar.gz ./configure ./configure ...
1
vote
1answer
1k views

Command to update terminal as file is updated

I'm looking for a way to have the access log for my nginx install scroll up the terminal as lines are added to the log. I think I need a command like cat access.log | diff but I'm not sure exactly ...
15
votes
2answers
20k views

How do erase the contents of a error.log file but keep the file intact

I want to erase the contents of the file error.log (nginx error log file), but I don't want to actually delete the file. is this possible? running ubuntu
0
votes
1answer
3k views

update-rc.d yields error

# /usr/sbin/update-rc.d -f nginx defaults update-rc.d: using dependency based boot sequencing How to fix it?
1
vote
1answer
248 views

Passenger + Nginx performance drops very quickly…?

So I have an Amazon EC2 small instance setup on Ubuntu with Ruby Enterprise Edition running on Passenger + Nginx. I set 25 Passenger instances and performance is dropping very quickly relative to the ...
0
votes
2answers
1k views

Why does nginx redirect to a strange URL?

I had just set up nginx on my server. I have PHP and everything working okay. Except when I try the URL http://xxx.xxx.xxx.xxx/123 I get redirected to http://_/123 but when I try the url ...
1
vote
2answers
7k views

NGINX, FastCGI PHP with FTP Access, How to setup users/permissions?

I have been playing around with Ubuntu, NGINX, PHP, etc. recently. I want to be able to setup FTP and user(s) ... the problem I am having is that FastCGI PHP runs under www-data (user) but when ...