Have you tried using 307 or 308 redirect codes? It works for any request which contains a body like POST\PUT\OTHERS. Eliezer ---- http://ngtech.co.il/lmgtfy/ Linux System Administrator Mobile: +972-5-28704261 Email: eliezer@ngtech.co.il From: nginx On Behalf Of Nader Ziada Sent: Wednesday, October 18, 2017 18:55 To: nginx@nginx.org Subject: workaround to handle HTTP and HTTPS on same port? Hby elico - Nginx Mailing List - English
I wanted to mention a nice video about tokens in apis. https://www.youtube.com/watch?v=xgkNe6R4Un0 Eliezer _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby elico - Nginx Mailing List - English
On 21/01/2016 20:38, nanaya wrote: > Something like this? > http://nginx.org/en/docs/http/ngx_http_secure_link_module.html No. The idea is that a client have the full url to the resource but it will be restricted using a token. The token can be either stored in a DB such as memcached\redis or another option. If such a thing doesn't exist I would probably write something up (not for nginby elico - Nginx Mailing List - English
I have seen that couple media sites are using the "token" query term for access control to some media content and I was wondering what module can do that? For examples the request: http://example.com/media/111111.mp4?token=xyz_very_long_token allows access to only this 111111.mp4 specific file and not to 111112.mp4 . I can write a web application that does the same thing but was wondby elico - Nginx Mailing List - English
Hey Ian, I am not nginx expert but I would try by mimicking a similar setup with a proxy to understand how it runs. If you can get tcpdump dumps from the client and server side you might be able to notice the different sides of the issue. If your nginx server is doing it's job then you will probably see it in the server dumps. In any case when you will have a tcpdump you might even discover thby elico - Nginx Mailing List - English
I have seen your directives and I am not nginx expert but there was something like "try" for connections to a proxy server that will first try one direction and if not able to download from there use the other one. Take a peak here: http://forum.nginx.org/read.php?2,246125,246125 You can define two backends: store and proxy. First try store and then proxy. (I do hope I am right aboutby elico - Nginx Mailing List - English
Or reiserfs... Eliezer On 09/12/2014 04:27 AM, NitrouZ wrote: > What file system do you use for cache? Try using xfs instead ext4. > Xfs have better inode storage than ext4. _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby elico - Nginx Mailing List - English
On 7/10/2012 7:59 AM, arosolino wrote: > Nevermind I found a way to do this. > > Posted at Nginx Forum: http://forum.nginx.org/read.php?2,228416,228459#msg-228459 > > _______________________________________________ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx > can you share how and what you did? it seems like one thing i wouldby elico - Nginx Mailing List - English
On 09/05/2012 00:07, Justin Dorfman wrote: > Hello All, > > What is the best way to cache a file from an origin to a proxy server > (nginx) with a long max-age then change the max-age to 0 when the file > is being downloaded from the Proxy. > > If that is confusing hopefully this illustration will explain it better: > http://i.imgur.com/BakMD.png cache is not ment to be cacby elico - Nginx Mailing List - English
On 01/05/2012 19:58, antituhan wrote: > So, what should I do Cliff ? Which directive should I use for it ? how about regex match for locations? > > ----- > # > -- > View this message in context: http://nginx.2469901.n2.nabble.com/Is-it-possible-using-multiple-directive-on-different-root-location-Without-Symlinks-tp7516384p7517418.html > Sent from the nginx mailing list archiveby elico - Nginx Mailing List - English
so i managed to do what i needed using prce on nginx. i inserted in the server conf file the next lines: server { listen 127.0.0.1:8087; if ($request_uri ~* "(Key-Pair-Id.*)\&") { set $id $1; } and then i can use the arguments with a variable $id Regards, Elicoby elico - How to...
i am using nginx as a reverse proxy to video files using a proxy_store and $arg . so i have this nice server that is using a arg named "Key-Pair-Id" and when i'm settings up (partial settings) ##start qoute location / { root /usr/local/www/nginx_cache/files/; try_files "/id=$arg_Key-Pair-Id.hint=$arg_hint" @proxy_v; } location @proxy_imdbv { resolverby elico - How to...