Varnish - Add parameter to end of URL

I currently have a varnish rule that does the following action:

set [login to view URL] = "https://" + [login to view URL] + [login to view URL] + "?cfcheck";

This causes an issue because if the URL already has a parameter it shows as [login to view URL]?cfcheck

Looking for for a rule that will add ?cfcheck if a parameter doesn't exist or &cfcheck if it does.

Навыки: Linux, Кэш-сервер Varnish

О работодателе:
( 24 отзыв(-а, -ов) ) Warrington, United Kingdom

ID проекта: #30694200

1 фрилансер в среднем готов выполнить эту работу за $30


Hi, i understood your project details very well and i can finish the same in your timeline. come over chat to further discuss

$30 USD за 1 день
(14 отзывов(-а))