Skip to content

Commit 73165b9

Browse files
authored
Merge pull request #52971 from Miciah/fix-typo-rout_name-to-route_name
OCPBUGS-3856: Fix typo: <rout_name> → <route_name>
2 parents 0383195 + 970663f commit 73165b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/nw-disabling-hsts.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To disable HTTP strict transport security (HSTS) per-route, you can set the `max
1818
+
1919
[source,terminal]
2020
----
21-
$ oc annotate route <rout_name> -n <namespace> --overwrite=true "haproxy.router.openshift.io/hsts_header"="max-age=0"
21+
$ oc annotate route <route_name> -n <namespace> --overwrite=true "haproxy.router.openshift.io/hsts_header"="max-age=0"
2222
----
2323
+
2424
[TIP]

modules/nw-enabling-hsts-per-route.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ HTTP strict transport security (HSTS) is implemented in the HAProxy template and
1818
+
1919
[source,terminal]
2020
----
21-
$ oc annotate route <rout_name> -n <namespace> --overwrite=true "haproxy.router.openshift.io/hsts_header"="max-age=31536000;\ <1>
21+
$ oc annotate route <route_name> -n <namespace> --overwrite=true "haproxy.router.openshift.io/hsts_header"="max-age=31536000;\ <1>
2222
includeSubDomains;preload"
2323
----
2424
<1> In this example, the maximum age is set to `31536000` ms, which is approximately eight and a half hours.

0 commit comments

Comments
 (0)