Hello,
I have a little problem with URLToolkit.
Is it possible to use environment variable in redirect command ?
I want to redirect http to https but my product doesn't use name to access but it use IP address.
I make a URLToolkit like this:
UrlToolkit {
ToolkitId=SSL
UseTLS return
Match (.*) Redirect https://{HTTP_HOST}{REQUEST_URI}
}
If I connect to my website with http://192.168.1.1 , the redirection is https://{HTTP_HOST}{REQUEST_URI} and not the https://192.168.1.1.
My question is : Is it possible to use environment variable and how to use them ?
Thank you for your help!