Hey folks, Can I use nginx for anti-dogpiling? We have been using Varnish cause it has antidogpiling options, but its so limited in terms of what it does as to what we need, that id love to use nginx.by vburshteyn - Nginx Mailing List - English
Jim, This is my whole config file. any other tips? user www-data; worker_processes 5; #error_log logs/error.log; #pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 999;by vburshteyn - Nginx Mailing List - English
Hi, Thanks in advance. I am running nginx 7.61 I went through all the config files and delete all the access log entries. Yet every time i restart nginx it creates a new /usr/local/nginx/logs/access.log file. Any idea how to fix this? Thanks,by vburshteyn - Nginx Mailing List - English
2009/07/28 12:45:33 17429#0: mmap(MAP_ANON|MAP_SHARED, 3145728000) failed (12: Cannot allocate memory)by vburshteyn - Nginx Mailing List - English
hey folks, our of curiosity why is it when i change this line to have a new folder half the time it properly creates the new directory with all the subfolders the other time it does not. It seems like hit or miss. proxy_cache_path /etc/nginx/cacheBK levels=1:2 keys_zone=one:3000m max_size=5000m;by vburshteyn - Nginx Mailing List - English
hey folks so i am using cache to great effect to cache and speed the site. I am just curious is there a way to do selective caching? it is imperitive that i keep one stupid URL from caching. Is that possible?by vburshteyn - Nginx Mailing List - English
so in that case one more stupid question (sorry i am windows tech who is making the switch) so if i have a statment like location ~* (a|b) the search will terminate as soon as it finds either a or b. how can i set it up to say ( a and b)?by vburshteyn - Nginx Mailing List - English
so what should i use?by vburshteyn - Nginx Mailing List - English
hey folks, i got a quick question basically my issue is this. the main site is mysite.com so location / { works great but then i have a.mysite.com/boxoffice when there is /boxoffice the A variable can be a large number of things and each has its own redirect path (damn i love legacy crap) so when i do something like location ~ a.mysite.com or Location ^ a.mystie.com iby vburshteyn - Nginx Mailing List - English
Hi, folks, i am back with more info requests. Does anybody have NGINX in fail over mode? in case if one server fails then the other one will take over. I know there are tons of tools to monitor for hardware failure, but i was just curious if anybody has something to monitor software level. Thanks,by vburshteyn - Nginx Mailing List - English
Hi, I am just curious to find out what do you folks use to measure nginx performance, aka how many requests it is handling at any given time and such.... Thanks,by vburshteyn - Nginx Mailing List - English
Igor, in your opinion, if redirects are just say 10% of the traffic, and rest does not need to be redirected, would you just use IF statment? say if (host ~ group) rewrite xxxxxxxxxxxxxxxx or u would still go with virtual server set up that you suggested earlier?by vburshteyn - Nginx Mailing List - English
Igor, thanks, bolshoye spasibo. if you dont mind, one more question on that topic - how would u do this? ../ this needs to be redirected to ...//by vburshteyn - Nginx Mailing List - English
Hi folks. back again for more info :) I need to use the rewrite module to rewrite redirects. for example http://www.mysite.com/9-to-5/group_show/569889 needs to be http://groups.bqa.mysite.com/9-to-5/group_show/569889 any idea how i would go about doing this? Thanks in advance.by vburshteyn - Nginx Mailing List - English
Hi folks, Before i get started i read that somebody posted simmilar thread but since i am still learning this, the answer/solution did not make sense. I have set up proxy_cache on my nginx but it seems that it is not writing to the cache directory. http { upstream backend { server 10.176.67.151:8080; } proxy_cache_path /etc/nginx/cache/ levels=1:2 keys_zone=one:10m max_size=200by vburshteyn - Nginx Mailing List - English
Basically we are running a nginx/apache2/django setup memcached works, i tested it and such. From here it goes to apache server. Everything works right up till i enable the set $memcached_key $uri; memcached_pass 127.0.0.1:11212; server { listen 10.176.67.151:80; server_name www.mysite.com; location / { proxy_pass http://10.176.67.151:8080/;by vburshteyn - Nginx Mailing List - English
Hi and thanks to all in advance, I am setting up my nginx to run with memcached. Now my issue is that when i set it up and turn it on i keep getting 404 error page. So i am thinking that i am using the wrong settings. How would i go about figuring out what the right value of the memcached key is? sorry but truwly a newb to linux/nginx scene.by vburshteyn - Nginx Mailing List - English
Hi, thanks to all in advance so at the moment i am running nginx 6.3 and want to upgrade to 7.6 the issue is (yes i am new to nginx and linux) is that i installed nginx via the good old apt-get install nginx. which installed it into /etc/nginx/ folder when i compile from source do i need to run ./configure --conf-path=/etc/nginx/nginx.conf ----sbin-path=/etc/nginx in order to haveby vburshteyn - How to...
Hi folks, So hopefully this will be very simple. I got Nginx as a LB for the typical django setup. I am trying to put memcached on the LB nginx and all i keep getting are 502 erros. http { # main lb section to take the server out of rotation # then just comment out the server. # upstream www2.mywebsitecom { #server 10.176.67.151:80; ### web1 server 10.176.67.5by vburshteyn - Nginx Mailing List - English