hello i don't know how to add this code ===================================== rewrite "^/([0-9A-Za-z]{12})(\/.+|\.html?|)$" /dl?op=download1&id=$1&fname=$2 last; rewrite "^/embed-([0-9A-Za-z]{12})\.html$" /dl?op=embed&file_code=$1 last;by iLinux85 - Nginx Mailing List - English
this is a shared server like any other shared sites support download and upload files like movies and programs , stuff over 1 and 2 gigabyte for download and upload , i am trying to adjust the connections in the server to work good with nginx , and this is my vhost.conf high connection mean alot of visitors established connection in my server 4 TIME_WAIT 9 SYN_RECV 2 LISby iLinux85 - Nginx Mailing List - English
hello i have server running as shared server Intel(R) Xeon(R) CPU E3-1225 V2 @ 3.20GHz 4 core and 16 g.b ram running onCentOS release 5.9 (Final) upload and download via php scripts like rapidshare the problem is i have high connections on this server and i want to know how could i configure the nginx correctly here is my current nginx.conf user nobody; # no need for more workersby iLinux85 - Nginx Mailing List - English
here is my main nginx.conf user nobody; # no need for more workers in the proxy mode worker_processes 2; error_log /var/log/nginx/error.log info; worker_rlimit_nofile 20480; events { worker_connections 5120; # increase for busier servers use epoll; # you should use epoll here for Linux kernels 2.6.x } http { server_name_in_redirect off; server_names_hash_max_size 10240; sby iLinux85 - Nginx Mailing List - English
i don't have php-fpm installed in the server and here is the information regard this issue root@host01 [~]# php -v PHP 5.2.17 (cli) (built: Feb 26 2012 17:04:23) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies with XCache v1.3.2, Copyright (c) 2005-2011, by mOo with the ionCube PHP Loader v4.0.12, Copyright (c) 2002-2011, by ionCuby iLinux85 - Nginx Mailing List - English
hello what exactly i should check regard this issue ? thanksby iLinux85 - Nginx Mailing List - English
sorry error is 502 not 500 502 Bad Gateway nginxby iLinux85 - Nginx Mailing List - English
and here is the nginx configurations for the site server { error_log /var/log/nginx/vhost-error_log warn; listen 192.168.1.1:80; server_name site.com www.site.com; access_log /usr/local/apache/domlogs/site.com-bytes_log bytes_log; access_log /usr/local/apache/domlogs/site.com combined; root /home/deltacom/public_html;by iLinux85 - Nginx Mailing List - English
hello when i update template in vbulletin php forum i got this error in vhost-error_log 2012/09/09 23:13:16 10313#0: *3877 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.1, server: site.net, request: "POST /vb/admincp/template.php?do=updatetemplate HTTP/1.1", upstream: "http://66.212.18.72:8081/vb/admincp/template.php?do=by iLinux85 - Nginx Mailing List - English