HTTP 2 HTTP's redirect

All,
I am new to A10 ,and have issue while config vip for http where http vip is used for only redirect traffic to https , but vip cannot function without service group i wonder why we need service group when am doing a redirection only . does A10 does’nt work in full proxy mode by default ?

For vip to work we need service group ? ( FYI im using http redirect option in virtual port config ).

You can assign an aflex to do the redirect, and you should not need to assign a service group. something like this will work:

when HTTP_REQUEST {
     HTTP::redirect https://[HTTP::host][HTTP::uri]
}

You can also add a fake server to the service group without any health monitor, and it should also work.

yeah aflex works but i was trying to use inbuilt function and to avoid aflex as much as possible .

That being said , that the in built check box will not function without service group ?.

Adding fake server as a work around will works but it adds complex to design and also maintaining.

Any i still wonder why the inbuilt check mark has dependency on service group , i hope the service template is doing the same sort of redirecting with some sort script in back embedded into the template.