Skip to content

Commit 970663f

Browse files
committed
Fix typo: <rout_name> → <route_name>
* modules/nw-disabling-hsts.adoc: * modules/nw-enabling-hsts-per-route.adoc: Replace "<rout_name>" with "<route_name>".
1 parent 0d91891 commit 970663f

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)