# HTTP 2 HTTP's redirect

**URL:** <https://community.a10networks.com/t/http-2-https-redirect/424>\
**Category:** ADC - Application Delivery\
**Created:** [January 19, 2017, 8:46pm UTC](https://community.a10networks.com/t/http-2-https-redirect/424 "2017-01-19T20:46:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/a10_community/original/1X/bb9f186d33804d3044a0374e589f49fdf3be1328.png) [@system](https://community.a10networks.com/u/system)\
**Post date:** [January 19, 2017, 8:46pm UTC](https://community.a10networks.com/t/http-2-https-redirect/424/1 "2017-01-19T20:46:03Z")

</div>

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 ).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/a10_community/original/1X/bb9f186d33804d3044a0374e589f49fdf3be1328.png) [@system](https://community.a10networks.com/u/system)\
**Post date:** [January 19, 2017, 10:06pm UTC](https://community.a10networks.com/t/http-2-https-redirect/424/2 "2017-01-19T22:06:13Z")

</div>

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

```auto
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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/a10_community/original/1X/bb9f186d33804d3044a0374e589f49fdf3be1328.png) [@system](https://community.a10networks.com/u/system)\
**Post date:** [January 19, 2017, 11:54pm UTC](https://community.a10networks.com/t/http-2-https-redirect/424/3 "2017-01-19T23:54:45Z")

</div>

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.
