I neet to route requests to multiple backends, and I'm can't match all, what I have so far: ... root /srv/www; == below does what it should == location ~ /assets/(.+\.(?:gif|jpe?g|png|txt|html|css|eot|svg|ttf|woff|swf|js))$ { alias /srv/www2/$1; } ==> below should match only: /, /en, /en/, /de, /de/ but NOT: /search/, /search this should be catched by last location locaby nenad - Nginx Mailing List - English
Thank you agentzh, it look as it can do the job. Do you know if there will be some performance related Issues with usage of the lua module?by nenad - Nginx Mailing List - English
How I can handle multipart data uploads with the latest nginx release? The good old upload module won^t compile anymore.by nenad - Nginx Mailing List - English
Can someone tell me how I can replace the if with try_files that it work as before? Can I do some more optimization here (on production I deactivated access_log)? server { listen *:80; server_name p.domain.com p1.domain.com p2.domain.com; access_log /srv/log/nginx/p-kflirt/access.log; error_log /srv/log/nginx/p-kflirt/error.log; if ($allow_visit = no) {by nenad - How to...
I would like to proxy photos from Facebook trough nginx, can this be done and if yes how. I mean something like: http://nginx/hide?a={encrypted url} that decrypt url and show the photo. Can anyone help out here? Thanks, Nenadby nenad - How to...
thank you, that worked! can you also say me how i can point to correct root without /t{time}, now it try to open the file in a folder with timestamp in. www.example.aaa/260/7/4/3/4255/4543535/t1331894408/1234_x.jpg?a=1234567888 means it try to open it in: /media/photos/260/7/4/3/4255/4543535/t1331894408/1234_x.jpg instead /srv/media/260/7/4/3/4255/4543535/1234_x.jpgby nenad - Nginx Mailing List - English
I would like to use HttpSecureLinkModule to restrict access to some member photos. Now I would like to have the timestamp inside the path but I'm not sure how to implement that. The timestamp I could get with \/t(\d+)\/ from uri, must I do a rewrite and if yes how? Or exist a "single" operation way? Photo-URL: www.example.aaa/260/7/4/3/4255/4543535/t1331894408/1234_x.jpg?a=12345678by nenad - Nginx Mailing List - English