Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

02-app - 02-api-reference - 05-next-config-js - httpAgentOptions.mdx 번역 초안 #225

Merged
merged 2 commits into from
Jun 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: httpAgentOptions
description: Next.js will automatically use HTTP Keep-Alive by default. Learn more about how to disable HTTP Keep-Alive here.
description: Next.js는 기본값으로 HTTP Keep-Alive를 사용합니다. 이 문서에는 HTTP Keep-Alive를 비활성화하는 방법이 적혀 있습니다.
---

In Node.js versions prior to 18, Next.js automatically polyfills `fetch()` with [node-fetch](/docs/architecture/supported-browsers#polyfills) and enables [HTTP Keep-Alive](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive) by default.
Node.js 18 이전 버전에서, Next.js는 `fetch()`[node-fetch](/docs/architecture/supported-browsers#polyfills)로 폴리필하고, 그와 동시에 기본적으로 [HTTP Keep-Alive](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive)를 활성화합니다.

To disable HTTP Keep-Alive for all `fetch()` calls on the server-side, open `next.config.js` and add the `httpAgentOptions` config:
서버 사이드의 모든 `fetch()`의 [HTTP Keep-Alive](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive)를 비활성화하기 위해, `next.config.js` 파일에 `httpAgentOptions` 설정을 추가할 수 있습니다.

```js filename="next.config.js"
module.exports = {
Expand Down