A
A
Andrey2016-06-05 22:28:09
Nginx
Andrey, 2016-06-05 22:28:09

Is dynamic url hash on nginx real?

there is a url mysite.com/payment
It should be mysite.com/xdsaddgfd4363drgfdgfd (for example) and the next day mysite.com/6y5467yfdhgfddgf and so on every day a different hash url.
Something like that. How can I do this and put it in the engine?
It is necessary to make nginx so that it automatically creates the md5(date('dmY').'ghcjhFFHJXFJHfyDRYU') hash.
In general, you need some kind of encryption that is available in both php and nginx.
As I understand it, a rewrite is done / payment is closed and the payment file will be opened by the link. This link is unknown, formed from the date and salt on the nginx and php side. But in order not to reboot nginx with every change in the url, there should probably be a variable that defines the date.
Has anyone solved such a problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Shatokhin, 2016-06-05
@Sovigod

Do a rewrite of all these hashes on / payment
And already in php, parse the correct request_uri came or not.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question