On Wed, Sep 29, 2010 at 00:27, Piotr Sikora <piotr.sikora@frickle.com> wrote: > Hi, > >>> The default limit on ubuntu is 1024. >>> How can I increase this limit? >> >> That's not nginx-specific, maybe you wanna ask in the ubuntu forums >> (or, better, Debian)? > > Actually, it is: > worker_rlimit_nofile XXXX; If you set worker_rlimit_nofileby vesperto - Nginx Mailing List - English
Hi On Tue, Sep 28, 2010 at 23:06, pablo platt <pablo.platt@gmail.com> wrote: > The default limit on ubuntu is 1024. > How can I increase this limit? That's not nginx-specific, maybe you wanna ask in the ubuntu forums (or, better, Debian)? Or, better yet, try a search engine first: http://lmgtfy.com/?q=linux+webserver+maximum+file+descriptor HTH, Nuno _______________________________by vesperto - Nginx Mailing List - English
On Fri, Aug 27, 2010 at 17:25, Ed W <lists@wildgooses.com> wrote: > > Oh fuck off you twit. Gee, you're so mature. _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby vesperto - Nginx Mailing List - English
Hi On Wed, Aug 25, 2010 at 13:06, Arthur Blake <arthur.blake@gmail.com> wrote: > On Linux, which command is better to rotate log files? The Debian package installs this file: /etc/logrotate.d/nginx: /var/log/nginx/*.log { daily missingok rotate 52 compress delaycompress notifempty create 640 www-data adm sharedscripts postrotate [ ! -f /var/run/nginx.pid ] || kill -USR1 `caby vesperto - Nginx Mailing List - English
On Mon, Aug 16, 2010 at 19:47, Jurie-Jan Botha <juriejanbotha@gmail.com> wrote: > I've been able to compile it with 2.6.5 which is installed when I > install python-dev but I'd like to try 2.7. Search for 2.7 in the Ubuntu repos? _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby vesperto - Nginx Mailing List - English
On Sat, Aug 14, 2010 at 03:43, kevin <kevincastiglione@gmail.com> wrote: > and return 'not found' from nginx. How about returning 444 instead? _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby vesperto - Nginx Mailing List - English
On Fri, Aug 13, 2010 at 22:52, António P. P. Almeida <appa@perusio.net> wrote: > So yes debian is behind the *development* version but is > synched with the stable version. Shouldn't Debian unstable be in sync with the development branch, and Debian stable with nginx stable? _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/lby vesperto - Nginx Mailing List - English
Hi, IIRC from asking once, they don't apply patches, they just bundle. However, even on Sid nginx is way behind, so i prefer to build from source, install with checkinstall (so i can purge if necessary and to keep things overall clean), and pin it. My 2¢, HTH, Nuno _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby vesperto - Nginx Mailing List - English
Hi, I'd suggest changing > server { > listen 80; > server_name domain.com production.domain.com; > root /var/www/domain.com/; to root /var/www/domain.com; and re-check your regexes, but that's just a newbie hint. -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail _______by vesperto - Nginx Mailing List - English
Greetings, Has anyone read this? Any opinions? Does anyone know on what version(s) is it based? Does it cover nginx on windows? TIA, Nuno -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby vesperto - Nginx Mailing List - English
On Sun, Jul 18, 2010 at 22:34, toto2008 <nginx-forum@nginx.us> wrote: > Hello, > > Why not using a robots.txt file ? http://www.robotstxt.org/ It won't block bots that don't honor it (not would anything block bots that present themselves as mozilla). -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail ______________________by vesperto - Nginx Mailing List - English
On Fri, Jul 16, 2010 at 12:45, Gilles Ganault <gilles.ganault@free.fr> wrote: > At least, I can't think of another cause that would allow a web server > to be reachable on TCP80 but not on TCP8787 altough "netstat" shows > that it's up and running. Telnet to it: on the command line, do telnet localhost 8787, then do GET / HTTP/1.1 and hit enter twice. You'll see if it's rby vesperto - Nginx Mailing List - English
HI According to the manual[1], PHP defaults to 302 unless specified. Easily debugged with a simple html file. Which headers get sent to the client along with the 301? Use Live HTTP Headers plugin for Firefox, quite handy. I don't see why would the webserver send a 3*. [1] http://php.net/manual/en/function.header.php -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbonby vesperto - Nginx Mailing List - English
Try rotating your logs and uping the error log to debug (although the access log oughta record hits anyway). Did you symlink from sites-avaialble to -enabled (if your distro does that from the package (assuming you didn't compile))? -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail _______________________________________________ nginx mailby vesperto - Nginx Mailing List - English
Just out of curiosity, if GET #1 is index.html and this file has an img tag, is the second GET a subrequest? -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby vesperto - Nginx Mailing List - English
http://wiki.nginx.org/NginxCommandLine#Loading_a_New_Configuration_Using_Signals What you suggested actually kills the server then starts it. It would be wiser to just reload the config file on the fly, without any downtime, by sending it signal 15: kill -HUP `cat /var/run/nginx.pid` This is on Debian GNU/Linux, YMMV. -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbonby vesperto - Nginx Mailing List - English
Your (2) answers your (1), and so would searching for the answer: http://wiki.nginx.org/NginxHttpCoreModule#listen -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby vesperto - Nginx Mailing List - English
http://wiki.nginx.org/NginxHttpLogModule#access_log Try using $bytes_sent in your logs. -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby vesperto - Nginx Mailing List - English
I'd guess "No buffer space available) while connecting to upstream" means your problem is in the upstream server, not in nginx, but i'm just guessing. You can set your worker processes to 4 but i don't think it's either necessary or it'll help you in this situation. Try it. -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail _____by vesperto - Nginx Mailing List - English
I have this config: server { listen 8080; server_name localhost; access_log /var/log/nginx/site.access.log; error_log /var/log/nginx/site.error.log; charset utf-8; if ($request_method !~ ^(GET|HEAD|POST)$ ) { return 444; } location / { root /var/www/nginx-default/site; indexby vesperto - Nginx Mailing List - English
On Sat, Apr 3, 2010 at 00:21, flash <nginx-forum@nginx.us> wrote: > The IRC program is set up to run on a subdomain on port 8000. (chat.example.com:8000). I am currently listening to port 80 for _ servers, do I need to do some sort of passthrough in the nginx.conf file? specifically for this subdomain? Is this even an ngixn problem? i.e. am I missing something in the unix side that wouldby vesperto - Nginx Mailing List - English
On Tue, Mar 30, 2010 at 09:42, huet bartels <hbartels@i-neda.com> wrote: > Dear All. > > Have managed to check the following files to change the identity of > nginx to another string, plus the footer section of the error pages. It would be easier (and more useful) to personalize your error pages. For instance: error_page 404 /40x.html; location = /40x.html { root /var/www/by vesperto - Nginx Mailing List - English
On Mon, Mar 15, 2010 at 12:43, Stefan Parvu <sparvu@systemdatarecorder.org> wrote: > In my case nginx-fcgi does currently the job and it is not > a very solid solution. Correct ? A single page load can - and most often does - have more than one request; a webserver gets hits by more than oner person... The higher the traffic the higher the chances of you fork-bombing your own server.by vesperto - Nginx Mailing List - English
See this: http://wiki.nginx.org/NginxHttpCoreModule#server_name And state your version and OS. Also the full config might help... -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby vesperto - Nginx Mailing List - English
On Sat, Feb 27, 2010 at 03:39, agentzh <agentzh@gmail.com> wrote: > Try using the $request_body variable? > > http://wiki.nginx.org/NginxHttpCoreModule#.24request_body > > It has some limitations though ;) Meaning you'd have to get the data only until the first \n? Kind of overkill, no? -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaignby vesperto - Nginx Mailing List - English
Maybe this is a freenode quirk, but shouldn't a channel be registered and have a founder associated to it? Net crashes or splits will cause disruptions, but only temporary as chanserv will reinstance the previous configs... At least on the networks i use. Or maybe it's a different ircd software? -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html eby vesperto - Nginx Mailing List - English
You could try SNI, but it's not supported by all browsers yet. Other than that, for the same ip address you have to have different ports. -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby vesperto - Nginx Mailing List - English
Hi, I use nginx on *nix but might be needing it on win as well. The compile process for windows not being straightforward, how can i include extra modules for nginx (the equivalent to ./configure --with_module --add_module=/path/to/module ...)? TIA, Nuno -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail __________________________________by vesperto - Nginx Mailing List - English
On Tue, Dec 1, 2009 at 13:08, d2 <nginx-forum@nginx.us> wrote: > Can anyone explain, why 401 code can not be used with full webserver's address? (as far as I can see, this is the only error code which cause troubles). I can't, but why would you do that? If you were to change the domain (or use that configuration for another site), you'd ahve to change that error page, whereas if you keby vesperto - Nginx Mailing List - English
On Wed, Nov 18, 2009 at 11:29, Igor Sysoev <is@rambler-co.ru> wrote: > What a patch do you mean ? Any patch that comes out for any given current version. Let's say someone finds a bug for 0.8.27 and you release a patch. If the next day i download the 0.8.27 tarball from nginx.net, will it be patched? -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign -by vesperto - Nginx Mailing List - English