Forum Discussion
Arie
Dec 11, 2015Altostratus
By the way, any particular reason you're using
TCP::respond
instead of the more common HTTP::respond
?
Using the latter the rule would look like this (some optimization added by removing the variable):
when HTTP_REQUEST {
HTTP::respond 301 Location "https://[HTTP::host][HTTP::uri]"
}