R
R
r2wall2020-01-13 22:58:16
Nginx
r2wall, 2020-01-13 22:58:16

Nginx Location's at the end of the link?

Tell me please. Is it possible to insert such a config into Nginx to make it work?
For example, there is a link like: https://site.com/174128/8313643/8127428/video/
Is it possible to make the location not touch the link so that the last part of https://site.com/174128/8313643 can be changed /8127428/video/ video1 /
The part of the link that is not touched by the location, https://site.com/174128/8313643/8127428/video/
The part that location sees /video1/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2020-01-13
@r2wall

Can. Regexps, regexps, regexps.
You can test, for example, here - https://regex101.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question