On Tue, 2012-08-07 at 13:30 -0400, edtaa wrote: > Hi > I'm new to this forum so I hope this hasn't come up before I didn't find > anything by searching. > > I'm using the following to block access to multiple directories: > > location ~ /(abc|def|ghi) { deny all; access_log off; log_not_found > off; return 404;} > Regex locations take precedence over literal locatioby Cliff Wells - Nginx Mailing List - English
On Tue, 2012-05-22 at 04:05 -0400, diogin wrote: > Hello nginx fans, > > I'm using nginx (with ngx_redis2 module) as a redis client, and would > like to establish more than 64511 keep alive connections with a redis > instance. The local port range of Linux is limited to 64511, so I'd like > to set up multiple ip addresses for nginx machine, but I don't know how > to tell nginby Cliff Wells - Nginx Mailing List - English
On Wed, 2012-05-09 at 00:15 +0200, Lukas Tribus wrote: > I noticed the documentation about the default of the ssl_ciphers > keyword isn't up-to-date: !ADH was replaced with !aNULL in 1.0.5 [2]. > Can someone update the docs? > [1] http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_ciphers > > [2] http://forum.nginx.org/read.php?29,206670,207923 > We're working onby Cliff Wells - Nginx Mailing List - English
On Thu, 2012-05-10 at 18:06 -0700, S. Ollinger wrote: > Hello all, > > I've tried looking through all the archives and may just have missed > it - but I'm running wordpress and the sidebars (specified in my > theme) don't display at all, just the main index.php. How would I > specify it that the sidebars need to be displayed in my nginx config > file? Most likely you wouldn'by Cliff Wells - Nginx Mailing List - English
On Wed, 2012-05-02 at 12:34 -0700, Justin Dorfman wrote: > I was rebuilding nginx on a staging server and noticed: TLS SNI > support disabled > > > # /usr/local/nginx/sbin/nginx -V > nginx version: nginx/1.0.15 > built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48/CentOS 5.5 Final) > TLS SNI support disabled > > > Is that something I should be concerned about? Mostby Cliff Wells - Nginx Mailing List - English
On Tue, 2012-05-01 at 19:20 -0700, antituhan wrote: > If using alias, what the root document directive? Becasue public_html is > outside the /home/antituhan/static. I've tried using alias > /home/antituhan/public_html but the nginx shows errors not found. Any > solution ? Pay attention to the slashes. /home/antituhan/static is not the same as /home/antituhan/static/ for an alias. Ifby Cliff Wells - Nginx Mailing List - English
On Tue, 2012-05-01 at 18:34 -0700, antituhan wrote: > Hi Francis, thanks for the response, > > Ok, basicly it's just a different directive (simple and 'crowded' > directive), isn't it ? And it doesn't matter with cpu/mem load (such as we > simply could use "try_files" than "if"). So, the conclusion is that "if" > directive is same as "try_filesby Cliff Wells - Nginx Mailing List - English
Perhaps an alias? location /cdn/ { alias /home/antituhan/public_html/; } Cliff On Tue, 2012-05-01 at 02:36 -0700, antituhan wrote: > Hi, basic on http://wiki.nginx.org/Pitfalls, I want to ask my directives like > this : > > This directive on balancer : > > > And then, this directives on backend : > > > I want to give a subdomain like this http://static.antby Cliff Wells - Nginx Mailing List - English
On Tue, 2012-05-01 at 02:36 -0700, antituhan wrote: > Hi, basic on http://wiki.nginx.org/Pitfalls, I want to ask my directives like > this : > > This directive on balancer : > > > And then, this directives on backend : > I fear you may have over-simplified your examples. Cliff _______________________________________________ nginx mailing list nginx@nginx.org http://by Cliff Wells - Nginx Mailing List - English
On Mon, 2012-04-30 at 14:24 -0700, antituhan wrote: > Hello, > > I've found WAF Module for NginX called Naxsi http://code.google.com/p/naxsi/ > And I've read the manual to compile it, but is it possible to > applied/recompile naxsi module to NginX from packages? No, you'll need to build Nginx from source. Cliff _______________________________________________ nginx mailing list nby Cliff Wells - Nginx Mailing List - English
On Sat, 2012-04-21 at 00:27 +0530, Sparsh Gupta wrote: > My concern was that when I have user www-data; mentioned in my config > file, why is nginx creating files for fastcgi_temp with user nginx and > group nginx Probably they were created before you changed the nginx config file settings. Cliff _______________________________________________ nginx mailing list nginx@nginx.org http:/by Cliff Wells - Nginx Mailing List - English
On Sat, 2012-04-21 at 07:49 -0400, squimmy wrote: > Hi, > > Yeh, I did think about using nginx modules, but that would require > recompiling nginx unless i'm mistaken? I'm also hoping to integrate this > with Owncloud, and that uses SabreDav, so getting that working is my > preferred option. > > These are my Nginx conf files: > Nginx.conf: http://pastebin.com/fNPkw4fqby Cliff Wells - Nginx Mailing List - English
On Thu, 2012-04-19 at 20:01 -0400, squimmy wrote: > Hi everyone, > > I've been desperately trying to get SabreDav working with Nginx for the > last 3 days almost to no avail. Well, with some success actually. By > following the instructions here: > http://blog.carlkoepke.com/index.php/2011/12/09/nginx-can-do-web-dav-with-a-little-help-from-a-friend/ > > I can set it up soby Cliff Wells - Nginx Mailing List - English
You might try this instead: https://github.com/arut/nginx-dav-ext-module Cliff On Thu, 2012-04-19 at 20:01 -0400, squimmy wrote: > Hi everyone, > > I've been desperately trying to get SabreDav working with Nginx for the > last 3 days almost to no avail. Well, with some success actually. By > following the instructions here: > http://blog.carlkoepke.com/index.php/2011/12/09/nby Cliff Wells - Nginx Mailing List - English
On Wed, 2012-04-18 at 01:02 +0200, siefke_listen@web.de wrote: > ok i have delete the part, but the error is the same. Access Denied. > And in the logs the same message, 403. Can you also check the main nginx error log? Usually /var/log/nginx/error.log. Cliff _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/ngiby Cliff Wells - Nginx Mailing List - English
On Tue, 2012-04-17 at 15:56 -0700, Cliff Wells wrote: > On Wed, 2012-04-18 at 00:17 +0200, Silvio Siefke wrote: > > > location ~ /\.ht { > > deny all; > > } > > This also matches .html files. Try making your regex more explicit. My mistake, it doesn't. Check these: 1) file/directory permissions are correct 2) is the php app is setting the status to 403? Regardby Cliff Wells - Nginx Mailing List - English
On Wed, 2012-04-18 at 00:17 +0200, Silvio Siefke wrote: > location ~ /\.ht { > deny all; > } This also matches .html files. Try making your regex more explicit. Cliff _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby Cliff Wells - Nginx Mailing List - English
On 04/10/2012 05:22 PM, Ian M. Evans wrote: > On Tue, April 10, 2012 8:02 pm, Edho Arief wrote: >> location /ournewblog/ { >> root ...; >> try_files $uri /ournewblog/index.php?q=$uri; >> location ~ \.php$ { >> fastcgi_pass ... >> ... >> } >> } >> >> Hopefully you don't have regex based location on server { } blockby Cliff Wells - Nginx Mailing List - English
On Sun, 2012-04-01 at 20:32 +0100, Mark Alan wrote: > Hello list, > > I wonder if anybody in this list was successful at (completely) > replacing apache for nginx as the web server for the proxmox VE > management system http://www.proxmox.com/products/proxmox-ve. AFAIK, Proxmox is implemented in mod_perl and uses mod_perl specific features. It's tied to Apache. Cliff __________by Cliff Wells - Nginx Mailing List - English
On Fri, 2012-03-30 at 09:08 -0700, Justin Dorfman wrote: > Hey Cliff, > > > Here are the current values: > > > server_names_hash_max_size 65536; > server_names_hash_bucket_size 256; These are not the hashes you are looking for =) Your error message specified "you should increase referers_hash_bucket_size", indicating that it is currently 64. Regards, Cliffby Cliff Wells - Nginx Mailing List - English
On Thu, 2012-03-29 at 19:04 -0700, Justin Dorfman wrote: > Hey Cliff, > > > I did, same issue. The way we ended up "fixing" it was deleting all > of the vhosts and syncing them from another PoP. How large did you make the value? With a large number of vhosts the value might need to be significantly higher. Also, I'm not sure of the context for this value, it might neby Cliff Wells - Nginx Mailing List - English
On Thu, 2012-03-29 at 17:11 -0700, Justin Dorfman wrote: > nginx: could not build the referers_hash, you should increase > referers_hash_bucket_size: 64 I hate to ask the obvious, but did you try increasing referers_hash_bucket_size? server { referers_hash_bucket_size 128; } This variable seems undocumented (aside from a note it appeared in 1.0.5), but the error message appears helby Cliff Wells - Nginx Mailing List - English
On Wed, 2012-03-28 at 19:15 -0400, locojohn wrote: > Adnan, if it doesn't set the "Content-Disposition" header as per my > example, then it doesn't match the location in which this header is set. > It is likely that some other location has preference and so the code I > provided will never be triggered. I'm fairly certain this is exactly what is happening. Either solutiby Cliff Wells - Nginx Mailing List - English
On Wed, 2012-03-28 at 09:48 +0200, Adnan RIHAN wrote: Which vhost is the one in question? Can you paste *only* the relevant server block? Most of what you pasted appears to be specific to running cPanel (I don't have any cPanel installs to check). Also, you mention stuff in "custom", but I don't see where any of the config you pasted includes a "custom" config. Cliff ____by Cliff Wells - Nginx Mailing List - English
On Wed, 2012-03-28 at 07:16 +0200, Adnan RIHAN wrote: > I've done this: > > > root@shadow # cat mega-sound.be > > location ~* \.mp3$ { > > types { > > application/octet-stream mp3; > > } > > } > > But, after rebuilding vhost and restarted nginx, the mp3 are currently > audio/mpeg (referring to firefox). > Is there a way to check if the confby Cliff Wells - Nginx Mailing List - English
On Tue, 2012-03-27 at 23:46 +0200, Adnan RIHAN wrote: > It's working well, but his website is now ugly, because the > instruction also applies for .css O_O > > > root@shadow # cat domain.com > > types { > > application/octet-stream mp3; > > } When you use the types directive, it *replaces* all the types with whatever you specify. You don't define any mimetyby Cliff Wells - Nginx Mailing List - English
On Wed, 2012-03-21 at 09:41 +0100, Rainer Duffner wrote: > Hi nginx-team. > > it's down currently. > > Just when I wanted to lookup something... Sorry, this is on my end. The server the wiki is hosted on has crashed twice this week for reasons unknown (I suspect hardware). We may have some more downtime tonight as I plan on doing some maintenance to see if I can determine and elby Cliff Wells - Nginx Mailing List - English
On Mon, 2012-03-19 at 23:28 +0100, Gelonida N wrote: > If I understood well, the 'normal' setup is to > let the client talk via https to nginx and to have all servers > behind nginx talk plain http. > > However I have one setup, where I'd like to have an encrypted > communication between nginx and one of the other servers (which cannot > be reached directly by the web clienby Cliff Wells - Nginx Mailing List - English
On Sat, 2012-03-17 at 20:01 +0000, Kaya Saman wrote: > I added the above to the nginx.conf file and now nginx won't start so > I'm guessing that it's been added to the wrong place?? Checking your logs is somewhat better than guessing ;-) On CentOS that's probably /var/log/nginx/error.log. > Also I guess what I'm trying to find out more then anything else is if > Nginx will be ablby Cliff Wells - Nginx Mailing List - English
On Sat, 2012-03-17 at 19:16 +0000, Kaya Saman wrote: > On 03/17/2012 06:41 PM, Cliff Wells wrote: > > On Sat, 2012-03-17 at 17:53 +0000, Kaya Saman wrote: > > > > > Is this the mp4 module that I need to be able to stream or is there an > > > embedded solution? > > http://nginx.org/en/docs/http/ngx_http_mp4_module.html > > Thanks. The links states: &by Cliff Wells - Nginx Mailing List - English