Hi, I tried to use the rewrite to change one word from an URL and I can't see to find any solution. Basicaly I need the word "png" to transform into "jpeg". My variant was this and it did't work. location ~ ^/qtb/([^/]+)/?(.*)$ { if ( $args ~* ^(.*)/png(.*)$ ) { rewrite $args $1/jpeg$2; } } I want toby daragiu - How to...
![]() |
![]() |
![]() |
![]() |
![]() |