On 2019-05-01 10:06, Duke Dougal wrote:
> Any further ideas?
1) The URL returns 200 when the secure-link config is disabled?
url="http://127.0.0.1/html/index.html";
curl -sI $url
2) The secret, expiry, and uri are the same from md5 generation to the
cURL request?
Patrick
__
should be:
curl
http://127.0.0.1/html/index.html?md5=FsRb_uu5NsagF0hA_Z-OQg&expires=2147483647
i.e.
curl "http://127.0.0.1/html/index.html?md5=${md5}&expires=${expiry}";
Patrick
Yes you’re correct there was a missing ampersand in the curl query but it
still doesn’t work.
Any further ideas?
t
On 2019-05-01 09:14, Duke Dougal wrote:
>ubuntu@ip-172-31-34-191:/var/www$ curl
> http://127.0.0.1/html/index.html?md5=FsRb_uu5NsagF0hA_Z-OQgexpires=2147483647
should be:
curl
http://127.0.0.1/html/index.html?md5=FsRb_uu5NsagF0hA_Z-OQg&expires=2147483647
i.e.
curl "http://127.0.0.1/html/ind
Hello I've tried every possible way I can think of to make secure links
work with expires. I've tried different versions of nginx, I've tried on
Ubuntu, tried on Centos, tried generating the hash using openssl, tried
using Python. I've followed every tutorial I can find. So I must be doing
somet