Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

can not use redirect_http_to_https option #106

@bazilek

Description

@bazilek

One can not use redirect_http_to_https option even when tls is enabled

│ Error: request: {
│ "options": {
│ "redirect_http_to_https": {
│ "enabled": [
│ "You cannot enable redirect HTTP to HTTPS when HTTPS is disabled. Please enable HTTPS and add SSL certificate first"
│ ]
│ }
│ }
│ }

configuration snippet

  ssl_enabled = true
  ssl_data = ssl_cert_id
  options {
    tls_versions {
      enabled = true
      value   = [
        "TLSv1.2",
        "TLSv1.3",
      ]
    }
    redirect_http_to_https {
      enabled = true
      value = true
    }

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions