Closed ralphtheninja closed 8 years ago
This fixes a problem where an old api url causes 301 from nginx. Using -L with curl makes curl retry on the moved host.
-L
More concretely. The following url was used:
https://dashninja.pl/api/masternodes?ips=\["x.y.z.w:9999"\]&portcheck=1&balance=1
When the new url is https://www.dashninja.pl/api..
https://www.dashninja.pl/api..
This fixes a problem where an old api url causes 301 from nginx. Using
-L
with curl makes curl retry on the moved host.More concretely. The following url was used:
https://dashninja.pl/api/masternodes?ips=\["x.y.z.w:9999"\]&portcheck=1&balance=1
When the new url is
https://www.dashninja.pl/api..