-
Website
http://blog.kovyrin.net -
Original page
http://blog.kovyrin.net/2006/04/04/nginx-small-powerful-web-server/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
for you health
3 comments · 1 points
-
jamiew
1 comment · 6 points
-
qu1j0t3
1 comment · 1 points
-
mkv to dvd
1 comment · 1 points
-
Scoundrel
9 comments · 1 points
-
-
Popular Threads
Is there some English documentation on how to set up nginx to serve PHP+FastCGI? I'm interested in some benchmarking.
I would be really interested to see your configuration. Can it compress dynamic content? Do you use it as a front end to apache or as a standalone web server?
How did it compare to lighttpd number wise?
As I'm sure you know already, some of us have set up a wiki for Nginx and are working on getting English, and German translations completed and the Russian documention ported:
http://wiki.codemongers.com/Nginx
Hope this helps others give Nginx a try.
I have followed the tutorial here:
http://www.nslu2-linux.org/wiki/HowTo/ReverseProxy
and all is well until I get to the part where I modify the nginx.conf file to add the Cherokee server as per the tutorial extract below:
>>
At this point of the proceedings I should be able to see the Cherokee server at
:7007/cherokee/
but no luck.
I am also trying to proxy the web interface of my router at 192.168.1.254
Similarly for the router page at
:7007/router/
My nginx.conf file is as shown below.
Have I added the proxy lines to the config file correctly?
Thanks for your help.
************************
My nginx.conf file.
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include conf/mime.types;
default_type application/octet-stream;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
tcp_nodelay on;
#gzip on;
server {
#listen 80;
listen 7007;
server_name localhost;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root html;
index index.html index.htm;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
#proxy Cherokee
location /cherokee/ {
proxy_pass http://127.0.0.1:8008;
proxy_redirect default;
}
#proxy Router
location /router/ {
proxy_pass http://192.168.1.254:80;
proxy_redirect default;
}
}
}
Возникла проблема и решения пока не нашёл.
Загружаю файл *.asf который после аплоада обрабатывается mencoder'ом, но после того как файл закинут на сервер и начата обработка менкодером, сервер выдаёт 504ю ошибку.
как с этим можно бороться?
Если можно - опишите какую версию nginx Вы используете на том сервере который показал способность держать 150-200Mbit/s и какая у Вас конфигурация nginx, и, если можно, желаза.
С уважением,
Денис