# Automatically Redirect from HTTP to HTTPS

## Overview <a href="#tong-quan" id="tong-quan"></a>

**The Automatic Redirect from HTTP to HTTPS** feature is a security and user experience optimization solution that automatically converts HTTP requests to HTTPS when users connect to a website via the insecure HTTP protocol. This feature ensures that all traffic is encrypted and complies with modern security standards.

## Detail <a href="#chi-tiet" id="chi-tiet"></a>

When you initialize a Web Accelerator, you can configure automatic Redirect from HTTP to HTTPS via:

<figure><img src="/files/mLUjQayW7KI2NC329PEn" alt=""><figcaption></figcaption></figure>

In there:

* **Always Use HTTPS:** When this option is enabled, end-users accessing websites with HTTP protocol will be automatically redirected to HTTPS.
* **Automatic HTTPS Rewrites** : Support converting HTTP links to HTTPS in source code **:** The system will automatically identify http sources in source code to convert to HTTPS before transferring data to users. Customers can choose this feature when initializing CDN or when editing created CDN.
* **Minimum TLS Version** : If your website is using HTTP protocol and is in the process of switching to HTTPS, the browser will warn you when the website still contains HTTP links. This option will automatically replace all HTTP links with HTTPS.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/vcdn/chi-tiet-tinh-nang/tu-dong-redirect-tu-http-sang-https.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
