I want to make nginx proxy according to url parameters
url example: www.foo.com/proxy/$serverUrl/$picUrl
$serverUrl example: storage.example.com $picUrl example: test.jpg or test.png
proxy to: https://$serverUrl/static/$picUrl
how to make nginx proxy like that?