HTTP to HTTPS redirect #23

Closed
opened 2023-04-24 19:43:54 +02:00 by ofilter · 4 comments
Owner

@https://istio.io/latest/docs/reference/config/networking/gateway/

apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
  name: my-gateway
  namespace: some-config-namespace
spec:
  selector:
    app: my-gateway-controller
  servers:
  - port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - uk.bookinfo.com
    - eu.bookinfo.com
    tls:
      httpsRedirect: true # sends 301 redirect for http requests
@https://istio.io/latest/docs/reference/config/networking/gateway/ ``` apiVersion: networking.istio.io/v1beta1 kind: Gateway metadata: name: my-gateway namespace: some-config-namespace spec: selector: app: my-gateway-controller servers: - port: number: 80 name: http protocol: HTTP hosts: - uk.bookinfo.com - eu.bookinfo.com tls: httpsRedirect: true # sends 301 redirect for http requests ```
ofilter added this to the Istio-base project 2023-04-24 19:43:54 +02:00
Author
Owner

Noticed that 07 is not fully documented ...

Proceeding with the documentation of such, as it's basically the template for this specific example.

Noticed that 07 is not fully documented ... Proceeding with the documentation of such, as it's basically the template for this specific example.
Author
Owner

On this example I will reduce to simply "gateway", to show a "how to do it" and that's it.

There isn't much of a point of maintaining other stuff that's totally not related.

On this example I will reduce to simply "gateway", to show a "how to do it" and that's it. There isn't much of a point of maintaining other stuff that's totally not related.
Author
Owner

HTTP to HTTPS is documented.

HTTP to HTTPS is documented.
Author
Owner

Regarding 07 and others, I will focus on it later as per today due my short availability would rather focus on getting some things working and documenting later.

Regarding 07 and others, I will focus on it later as per today due my short availability would rather focus on getting some things working and documenting later.
ofilter added this to the Istio-base milestone 2023-04-28 06:11:16 +02:00
ofilter added the
new-example
label 2023-04-30 22:46:33 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ofilter/Istio_Examples#23
No description provided.