Skip to content

Commit fc45aac

Browse files
committed
Extended the "early_hints" example with "proxy_pass".
To clarify that a backend is involved here. Requested by Liam Crilly.
1 parent 8c9ebdd commit fc45aac

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

xml/en/docs/http/ngx_http_core_module.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,10 @@ map $http_sec_fetch_mode $early_hints {
666666

667667
server {
668668
...
669-
early_hints $early_hints;
669+
location / {
670+
early_hints $early_hints;
671+
proxy_pass http://example.com;
672+
}
670673
}
671674
</example>
672675
</para>

xml/ru/docs/http/ngx_http_core_module.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,10 @@ map $http_sec_fetch_mode $early_hints {
661661

662662
server {
663663
...
664-
early_hints $early_hints;
664+
location / {
665+
early_hints $early_hints;
666+
proxy_pass http://example.com;
667+
}
665668
}
666669
</example>
667670
</para>

0 commit comments

Comments
 (0)