Dynamic url hashes in nginx is it possible?

url mysite.com/payment

It is necessary to have mysite.com/xdsaddgfd4363drgfdgfd (say) and the next day mysite.com/6y5467yfdhgfddgf and so on every day a different hash of the url.

Cheto like that. How do I do this and substitute in the engine?

Need nginx to do so he created a machine Heshi md5(date('d.m.Y').'ghcjhFFHJXFJHfyDRYU').

Generally need some kind of encryption which is in php and in nginx.

I understand how done to. htaccess /payment closes and the link opens the file payment this link is formed from unknown dates and salt on the side of nginx and php. But with every change url to rebootit nginx there should probably be a variable that determines the date.

Has anyone solved such a problem?
July 8th 19 at 16:30
1 answer
July 8th 19 at 16:32
Do the rewrite all these hashes on /payment
And in php disassemble the right came request_uri or not.
Is better would not write anything. - douglas_Wehner commented on July 8th 19 at 16:35
Well, if you so wish without php nginx.org/ru/docs/http/ngx_http_secure_link_module.html - lennie.Beatty commented on July 8th 19 at 16:38

Find more questions by tags Nginx