docs: add note about early hints and nginx (#8485)

resolves https://github.com/nuxt/framework/issues/8306
This commit is contained in:
Ondřej Misák 2022-10-26 10:28:41 +02:00 committed by GitHub
parent bbea416c23
commit 6d830c7629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -83,7 +83,11 @@ export default defineUntypedSchema({
/** Enable cross-origin prefetch using the Speculation Rules API. */ /** Enable cross-origin prefetch using the Speculation Rules API. */
crossOriginPrefetch: false, crossOriginPrefetch: false,
/** Write early hints when using node server */ /**
* Write early hints when using node server.
*
* @note If you are using Nginx, set the value to `false`. Nginx does not support 103 Early hints in the current version.
*/
writeEarlyHints: true writeEarlyHints: true
} }
}) })