1
0
mirror of https://github.com/containous/traefik.git synced 2025-12-15 08:23:55 +03:00

Fix SSL redirect middleware to match NGINX behavior

This commit is contained in:
Michael
2025-12-04 13:44:05 +01:00
committed by GitHub
parent 7314f7ddc9
commit d6b127ba91
10 changed files with 70 additions and 33 deletions

View File

@@ -2041,8 +2041,9 @@ spec:
More info: https://doc.traefik.io/traefik/v3.6/middlewares/http/redirectscheme/
properties:
permanent:
description: Permanent defines whether the redirection is permanent
(308).
description: |-
Permanent defines whether the redirection is permanent.
For HTTP GET requests a 301 is returned, otherwise a 308 is returned.
type: boolean
port:
description: Port defines the port of the new URL.

View File

@@ -1211,8 +1211,9 @@ spec:
More info: https://doc.traefik.io/traefik/v3.6/middlewares/http/redirectscheme/
properties:
permanent:
description: Permanent defines whether the redirection is permanent
(308).
description: |-
Permanent defines whether the redirection is permanent.
For HTTP GET requests a 301 is returned, otherwise a 308 is returned.
type: boolean
port:
description: Port defines the port of the new URL.