mike Wrote: ------------------------------------------------------- > i have try_files outside of location blocks > plenty. > > the wiki probably just needs updating This was my purpose for asking, I know try_files works just fine outside of location blocks, but I wanted to make sure I fully understood how try_files would work before changing the wiki.by Ensiferous - Nginx Mailing List - English
You should look into x-file-redirect. That way you can have a backend script handle the authentication and then let Nginx handle the streaming part if the user is allowed to download .by Ensiferous - Nginx Mailing List - English
Hey, I have a question about how try_files works in some cases. The standard case seems to be server { server_name foo; location / { try_files $uri index.html; } } Here nginx tries $uri and then finally index.html if no other location block matches. Now say that there are no other location blocks and nginx enters location / again, the try_files directive is then skipped as itby Ensiferous - Nginx Mailing List - English
I get the following warnings when I run make on Fedora. objs/src/os/unix/ngx_process.o: In function `ngx_process_get_status': /root/software/nginx-0.8.38/src/os/unix/ngx_process.c:490: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead /root/software/nginx-0.8.38/src/os/unix/ngx_process.c:490: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' insteaby Ensiferous - Nginx Mailing List - English
Yes. this was the conclusion I came to as well after talking it over in the IRC channel. Using IPs is probably the ideal here.by Ensiferous - Nginx Mailing List - English
Hello, I have a situation where a server needs to proxy to a variable backend depending on the URI. I use x-accel-redirect to a URI like /files/serverX/fileY; I then need my server to proxy_pass to serverX.domain.com/fileY; and return this data to the user. There will be multiple servers with this so something where I need to update the configuration when I add a new serverX would be sby Ensiferous - Nginx Mailing List - English
Wow, I hit the wrong mailing list, terribly sorry about that guys. Please ignore this.by Ensiferous - Php-fpm Mailing List - English
Hello, I have a situation where a server needs to proxy to a variable backend depending on the URI. I use x-accel-redirect to a URI like /files/serverX/fileY; I then need my server to proxy_pass to serverX.domain.com/fileY; and return this data to the user. There will be multiple servers with this so something where I need to update the configuration when I add a new serverX would be sby Ensiferous - Php-fpm Mailing List - English
Hi, I am looking for someone to modify the limit zone module to store information in a memcached server instead of in local shared memory so that limit zone can work across multiple servers. You can reach me either by replying here or by emailing me at martin@evilgeniusmedia.org Sincerely, Martin Fjordvaldby Ensiferous - Requests for Paid Services
Hi, I am looking for someone to modify the limit zone module to store the information in a memcached server instead of in local shared memory so that limit zone can work across multiple servers. Payment available, please post bids here or email me at martin@evilgeniusmedia.org I am currently travelling, so responses to emails/posts may be delayed a bit, sorry if this is inconvenient. Sby Ensiferous - Nginx Mailing List - English