# http to https redirection

**URL:** <https://community.f5.com/t/http-to-https-redirection/19875>\
**Category:** Technical Forums\
**Tags:** ltm, application-delivery\
**Created:** [July 21, 2016, 1:58pm UTC](https://community.f5.com/t/http-to-https-redirection/19875 "2016-07-21T13:58:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ReynaldoQ\_14206](https://avatars.discourse-cdn.com/v4/letter/r/a4c791/32.png) [@ReynaldoQ\_14206](https://community.f5.com/u/ReynaldoQ_14206)\
**Post date:** [July 21, 2016, 1:58pm UTC](https://community.f5.com/t/http-to-https-redirection/19875/1 "2016-07-21T13:58:48Z")

</div>

Hi, I would like to implement an http to https redirection for a virtual server. Looks like it can be done as an iRule or can be implemented as a policy rule. Which is better method? Or am I misled? Thanks.

---

<div class="post-metadata">

**Author:** ![boneyard](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/boneyard/32/20419_2.png) [@boneyard](https://community.f5.com/u/boneyard)\
**Post date:** [July 21, 2016, 2:04pm UTC](https://community.f5.com/t/http-to-https-redirection/19875/2 "2016-07-21T14:04:03Z")

</div>

policy rules are faster then irules, but if you will notice that …

there already is a default irule available so that might be quicker config wise: \_sys\_https\_redirect
