

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# 내장 쿡북 속성
<a name="attributes-recipes"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

**참고**  
이러한 속성 대부분은 Linux 스택에서만 사용할 수 있습니다.

대부분의 내장 레시피에는 다양한 설정을 정의하는 하나 이상의 [속성 파일](workingcookbook-installingcustom-components-attributes.md)이 있습니다. 사용자 지정 레시피의 이러한 설정에 액세스하고 사용자 지정 JSON을 사용해 재정의할 수 있습니다. 일반적으로 OpsWorks Stacks에서 지원하는 다양한 서버 기술의 구성을 제어하는 속성에 액세스하거나 재정의해야 합니다. 이 섹션에서는 이러한 속성을 요약합니다. 완전한 속성 파일과 연결된 레시피 및 템플릿은 [https://github.com/aws/opsworks-cookbooks.git](https://github.com/aws/opsworks-cookbooks.git)에 나와 있습니다.

**참고**  
모든 내장 레시피 속성은 `default` 유형입니다.

**Topics**
+ [

# apache2 속성
](attributes-recipes-apache.md)
+ [

# deploy 속성
](attributes-recipes-deploy.md)
+ [

# haproxy 속성
](attributes-recipes-haproxy.md)
+ [

# memcached 속성
](attributes-recipes-mem.md)
+ [

# mysql 속성
](attributes-recipes-mysql.md)
+ [

# nginx 속성
](attributes-recipes-nginx.md)
+ [

# opsworks\$1berkshelf 속성
](attributes-recipes-berkshelf.md)
+ [

# opsworks\$1java 속성
](attributes-recipes-java.md)
+ [

# passenger\$1apache2 Attributes
](attributes-recipes-passenger.md)
+ [

# ruby 속성
](attributes-recipes-ruby.md)
+ [

# unicorn 속성
](attributes-recipes-unicorn.md)

# apache2 속성
<a name="attributes-recipes-apache"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

**참고**  
이러한 속성은 Linux 스택에서만 사용할 수 있습니다.

[apache2 속성](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/apache2/attributes/apache.rb)은 [Apache HTTP 서버](http://httpd.apache.org/) 구성을 지정합니다. 자세한 정보는 [Apache 핵심 기능](http://httpd.apache.org/docs/current/mod/core.html) 단원을 참조하세요. 내장 속성을 재정의해 사용자 지정 값을 지정하는 방법에 대한 자세한 정보는 [속성 재정의](workingcookbook-attributes.md) 단원을 참조하세요.


****  

|  |  |  | 
| --- |--- |--- |
| [이진수 ](#attributes-recipes-apache-bin) | [contact ](#attributes-recipes-apache-contact) | [deflate\$1types](#attributes-recipes-apache-deflate) | 
| [dir ](#attributes-recipes-apache-dir) | [document\$1root ](#attributes-recipes-apache-doc-root) | [그룹 ](#attributes-recipes-apache-group) | 
| [hide\$1info\$1headers ](#attributes-recipes-apache-hide) | [icondir ](#attributes-recipes-apache-icondir) | [init\$1script ](#attributes-recipes-apache-init-script) | 
| [keepalive ](#attributes-recipes-apache-keep) | [keepaliverequests ](#attributes-recipes-apache-keep-requests) | [keepalivetimeout ](#attributes-recipes-apache-keep-timeout) | 
| [lib\$1dir ](#attributes-recipes-apache-lib-dir) | [libexecdir ](#attributes-recipes-apache-libexecdir) | [listen\$1ports ](#attributes-recipes-apache-ports) | 
| [log\$1dir ](#attributes-recipes-apache-log-dir) | [logrotate 속성](#attributes-recipes-apache-log) | [pid\$1file ](#attributes-recipes-apache-pidfile) | 
| [prefork 속성](#attributes-recipes-apache-prefork) | [serversignature ](#attributes-recipes-apache-sig) | [servertokens ](#attributes-recipes-apache-tokens) | 
| [제한 시간 ](#attributes-recipes-apache-timeout) | [traceenable ](#attributes-recipes-apache-trace) | [user ](#attributes-recipes-apache-user) | 
| [버전](#attributes-recipes-apache-version) | [worker 속성](#attributes-recipes-apache-worker) |  | 

**이진수 **  <a name="attributes-recipes-apache-bin"></a>
Apache 이진수의 위치(문자열). 기본값은 `'/usr/sbin/httpd'`입니다.  

```
node[:apache][:binary]
```

**contact **  <a name="attributes-recipes-apache-contact"></a>
이메일 연락처(문자열). 기본값은 더미 주소인 `'ops@example.com'`입니다.  

```
node[:apache][:contact]
```

**deflate\$1types**  <a name="attributes-recipes-apache-deflate"></a>
`mod_deflate`에게 브라우저가 지원하는 지정된 Mime 유형에 대해 압축을 활성화할 것을 지시합니다(문자열의 목록). 기본값은 다음과 같습니다.  

```
['application/javascript',
 'application/json',
 'application/x-javascript',
 'application/xhtml+xml',
 'application/xml',
 'application/xml+rss',
 'text/css',
 'text/html',
 'text/javascript',
 'text/plain',
 'text/xml']
```
압축은 보안 위험을 초래할 수 있습니다. 압축을 완전히 비활성화하려면 이 속성을 다음과 같이 설정하세요.  

```
node[:apache][:deflate_types] = []
```

```
node[:apache][:deflate_types]
```

**dir **  <a name="attributes-recipes-apache-dir"></a>
서버의 루트 디렉터리(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux 및 Red Hat Enterprise Linux(RHEL): `'/etc/httpd'`
+ Ubuntu: `'/etc/apache2'`

```
node[:apache][:dir]
```

**document\$1root **  <a name="attributes-recipes-apache-doc-root"></a>
문서 루트(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux 및 RHEL: `'/var/www/html'`
+ Ubuntu: `'/var/www'`

```
node[:apache][:document_root]
```

**그룹 **  <a name="attributes-recipes-apache-group"></a>
그룹 이름(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux 및 RHEL: `'apache'`
+ Ubuntu: `'www-data'`

```
node[:apache][:group]
```

**hide\$1info\$1headers **  <a name="attributes-recipes-apache-hide"></a>
HTTP 헤더에서 버전 및 모듈 정보를 생략할지 여부(`'true'`/`'false'`)(문자열). 기본값은 `'true'`입니다.  

```
node[:apache][:hide_info_headers]
```

**icondir **  <a name="attributes-recipes-apache-icondir"></a>
아이콘 디렉터리(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux 및 RHEL: `'/var/www/icons/'`
+ Ubuntu: `'/usr/share/apache2/icons'`

```
node[:apache][:icondir]
```

**init\$1script **  <a name="attributes-recipes-apache-init-script"></a>
초기화 스크립트(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux 및 RHEL: `'/etc/init.d/httpd'`
+ Ubuntu: `'/etc/init.d/apache2'`

```
node[:apache][:init_script]
```

**keepalive **  <a name="attributes-recipes-apache-keep"></a>
연결 유지를 활성화할지 여부(문자열). 가능한 값은 `'On'`과 `'Off'`입니다(문자열). 기본값은 `'Off'`입니다.  

```
node[:apache][:keepalive]
```

**keepaliverequests **  <a name="attributes-recipes-apache-keep-requests"></a>
Apache가 동시에 처리할 연결 유지 요청의 최대 개수(숫자). 기본값은 `100`입니다.  

```
node[:apache][:keepaliverequests]
```

**keepalivetimeout **  <a name="attributes-recipes-apache-keep-timeout"></a>
연결을 닫기 전에 Apache가 요청을 기다리는 시간(숫자). 기본값은 `3`입니다.  

```
node[:apache][:keepalivetimeout]
```

**lib\$1dir **  <a name="attributes-recipes-apache-lib-dir"></a>
객체 코드 라이브러리가 포함된 디렉터리(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux(x86): `'/usr/lib/httpd'`
+ Amazon Linux(x64) 및 RHEL: `'/usr/lib64/httpd'`
+ Ubuntu: `'/usr/lib/apache2'`

```
node[:apache][:lib_dir]
```

**libexecdir **  <a name="attributes-recipes-apache-libexecdir"></a>
프로그램 실행 파일이 포함된 디렉터리(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux(x86): `'/usr/lib/httpd/modules'`
+ Amazon Linux(x64) 및 RHEL: `'/usr/lib64/httpd/modules'`
+ Ubuntu: `'/usr/lib/apache2/modules'`

```
node[:apache][:libexecdir]
```

**listen\$1ports **  <a name="attributes-recipes-apache-ports"></a>
서버가 수신하는 포트의 목록(문자열의 목록). 기본값은 `[ '80','443' ]`입니다.  

```
node[:apache][:listen_ports]
```

**log\$1dir **  <a name="attributes-recipes-apache-log-dir"></a>
로그 디렉터리(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux 및 RHEL: `'/var/log/httpd'`
+ Ubuntu: `'/var/log/apache2'`

```
node[:apache][:log_dir]
```

**logrotate 속성**  <a name="attributes-recipes-apache-log"></a>
이러한 속성은 로그 파일을 교체하는 방법을 지정합니다.    
**delaycompress **  <a name="attributes-recipes-apache-log-delay"></a>
다음 교체 주기가 시작될 때까지 닫힌 로그 파일 압축을 지연할지 여부(`'true'`/`'false'`)(문자열). 기본값은 `'true'`입니다.  

```
node[:apache][:logrotate][:delaycompress]
```  
**그룹 **  <a name="attributes-recipes-apache-log-group"></a>
로그 파일의 그룹(문자열). 기본값은 `'adm'`입니다.  

```
node[:apache][:logrotate][:group]
```  
**모드 **  <a name="attributes-recipes-apache-log-mode"></a>
로그 파일의 모드(문자열). 기본값은 `'640'`입니다.  

```
node[:apache][:logrotate][:mode]
```  
**owner **  <a name="attributes-recipes-apache-log-owner"></a>
로그 파일의 소유자(문자열). 기본값은 `'root'`입니다.  

```
node[:apache][:logrotate][:owner]
```  
**rotate **  <a name="attributes-recipes-apache-log-rotate"></a>
닫힌 로그 파일이 제거되기 전 교체 주기의 수(문자열). 기본값은 `'30'`입니다.  

```
node[:apache][:logrotate][:rotate]
```  
**schedule **  <a name="attributes-recipes-apache-log-schedule"></a>
교체 일정(문자열). 가능한 값은 다음과 같습니다.  
+ `'daily'`
+ `'weekly'`
+ `'monthly'`
기본값은 `'daily'`입니다.  

```
node[:apache][:logrotate][:schedule]
```

**pid\$1file **  <a name="attributes-recipes-apache-pidfile"></a>
데몬의 프로세스 ID가 포함된 파일(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux 및 RHEL: `'/var/run/httpd/httpd.pid'`
+ Ubuntu: `'/var/run/apache2.pid'`

```
node[:apache][:pid_file]
```

**prefork 속성**  <a name="attributes-recipes-apache-prefork"></a>
이러한 속성은 프리포킹(pre-forking) 구성을 지정합니다.    
**maxclients **  <a name="attributes-recipes-apache-prefork-maxclients"></a>
처리할 동시 요청의 최대 수(숫자). 기본값은 `400`입니다.  
이 속성은 Amazon Linux 또는 RHEL을 실행하는 인스턴스에만 사용하세요. 인스턴스가 Ubuntu 14.04 LTS를 실행 중인 경우, [maxrequestworkers](#attributes-recipes-apache-prefork-maxrequestworkers)를 사용하세요.

```
node[:apache][:prefork][:maxclients]
```  
**maxrequestsperchild **  <a name="attributes-recipes-apache-prefork-maxrequests"></a>
하위 서버 프로세스가 처리할 요청의 최대 수(숫자). 기본값은 `10000`입니다.  

```
node[:apache][:prefork][:maxrequestsperchild]
```  
**maxrequestworkers**  <a name="attributes-recipes-apache-prefork-maxrequestworkers"></a>
처리할 동시 요청의 최대 수(숫자). 기본값은 `400`입니다.  
이 속성은 Ubuntu 14.04 LTS를 실행하는 인스턴스에만 사용하세요. 인스턴스가 Amazon Linux 또는 RHEL을 실행 중인 경우, [maxclients ](#attributes-recipes-apache-prefork-maxclients)를 사용하세요.

```
node[:apache][:prefork][:maxrequestworkers]
```  
**maxspareservers **  <a name="attributes-recipes-apache-prefork-maxspare"></a>
유휴 하위 서버 프로세스의 최대 수(숫자). 기본값은 `32`입니다.  

```
node[:apache][:prefork][:maxspareservers]
```  
**minspareservers **  <a name="attributes-recipes-apache-prefork-minspare"></a>
유휴 하위 서버 프로세스의 최소 수(숫자). 기본값은 `16`입니다.  

```
node[:apache][:prefork][:minspareservers]
```  
**serverlimit **  <a name="attributes-recipes-apache-prefork-limit"></a>
구성할 수 있는 프로세스의 최대 수(숫자). 기본값은 `400`입니다.  

```
node[:apache][:prefork][:serverlimit]
```  
**startservers **  <a name="attributes-recipes-apache-prefork-start"></a>
시작 시 생성될 하위 서버 프로세스의 수(숫자). 기본값은 `16`입니다.  

```
node[:apache][:prefork][:startservers]
```

**serversignature **  <a name="attributes-recipes-apache-sig"></a>
서버 생성 문서의 꼬리말을 구성할지 여부 및 구성 방법을 지정합니다(문자열). 가능한 값은 `'On'`, `'Off'` 및 `'Email'`입니다. 기본값은 `'Off'`입니다.  

```
node[:apache][:serversignature]
```

**servertokens **  <a name="attributes-recipes-apache-tokens"></a>
응답 헤더에 어떤 유형의 서버 버전 정보가 포함되는지 지정합니다(문자열).  
+ `'Full'`: 전체 정보. 예를 들어 Server: Apache/2.4.2 (Unix) PHP/4.2.2 MyMod/1.2 
+ `'Prod'`: 제품 이름. 예를 들어 Server: Apache
+ `'Major'`: 메이저 버전. 예를 들어 Server: Apache/2
+ `'Minor'`: 메이저 및 마이너 버전. 예를 들어 Server: Apache/2.4
+ `'Min'`: 최소 버전. 예를 들어 Server: Apache/2.4.2
+ `'OS'`: 운영 체제 포함 버전. 예를 들어 Server: Apache/2.4.2 (Unix) 
기본값은 `'Prod'`입니다.  

```
node[:apache][:servertokens]
```

**제한 시간 **  <a name="attributes-recipes-apache-timeout"></a>
Apache가 I/O를 기다리는 시간(숫자). 기본값은 `120`입니다.  

```
node[:apache][:timeout]
```

**traceenable **  <a name="attributes-recipes-apache-trace"></a>
`TRACE` 요청을 활성화할지 여부(문자열). 가능한 값은 `'On'`와 `'Off'`입니다. 기본값은 `'Off'`입니다.  

```
node[:apache][:traceenable]
```

**user **  <a name="attributes-recipes-apache-user"></a>
사용자 이름(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux 및 RHEL: `'apache'`
+ Ubuntu: `'www-data'`

```
node[:apache][:user]
```

**버전**  <a name="attributes-recipes-apache-version"></a>
Apache 버전(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux: `2.2`
+ Ubuntu 14.04 LTS: `2.4`
+ RHEL: `2.4`

```
node[:apache][:version]
```

**worker 속성**  <a name="attributes-recipes-apache-worker"></a>
이러한 속성은 worker 프로세스 구성을 지정합니다.    
**startservers **  <a name="attributes-recipes-apache-worker-start"></a>
시작 시 생성될 하위 서버 프로세스의 수(숫자). 기본값은 `4`입니다.  

```
node[:apache][:worker][:startservers]
```  
**maxclients **  <a name="attributes-recipes-apache-worker-maxclients"></a>
처리할 동시 요청의 최대 수(숫자). 기본값은 `1024`입니다.  

```
node[:apache][:worker][:maxclients]
```  
**maxsparethreads **  <a name="attributes-recipes-apache-worker-maxspare"></a>
유휴 스레드의 최대 수(숫자). 기본값은 `192`입니다.  

```
node[:apache][:worker][:maxsparethreads]
```  
**minsparethreads **  <a name="attributes-recipes-apache-worker-minspare"></a>
유휴 스레드의 최소 수(숫자). 기본값은 `64`입니다.  

```
node[:apache][:worker][:minsparethreads]
```  
**threadsperchild **  <a name="attributes-recipes-apache-worker-threads"></a>
하위 프로세스당 스레드 수(숫자). 기본값은 `64`입니다.  

```
node[:apache][:worker][:threadsperchild]
```  
**maxrequestsperchild **  <a name="attributes-recipes-apache-worker-maxreq"></a>
하위 서버 프로세스가 처리할 요청의 최대 수(숫자). 기본값은 `10000`입니다.  

```
node[:apache][:worker][:maxrequestsperchild]
```

# deploy 속성
<a name="attributes-recipes-deploy"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

[내장 배포 쿡북의 `deploy.rb` 속성 파일](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/deploy/attributes/deploy.rb)은 `opsworks` 네임스페이스에서 다음 속성을 정의합니다. 배포 디렉터리에 대한 자세한 정보는 [Deploy 레시피](create-custom-deploy.md) 단원을 참조하세요. 내장 속성을 재정의해 사용자 지정 값을 지정하는 방법에 대한 자세한 정보는 [속성 재정의](workingcookbook-attributes.md) 단원을 참조하세요.

**deploy\$1keep\$1releases **  <a name="attributes-recipes-deploy-global-keep-releases"></a>
 OpsWorks Stacks가 저장할 앱 배포 수(숫자)에 대한 전역 설정입니다. 기본값은 5입니다. 이 값은 앱을 롤백할 수 있는 횟수를 제어합니다.  

```
node[:opsworks][:deploy_keep_releases]
```

**그룹 **  
(Linux 한정) 앱의 배포 디렉터리에 대한 `group` 설정(문자열). 기본값은 인스턴스의 운영 체제에 따라 다릅니다.  
+ Ubuntu 인스턴스의 경우, 기본값은 `www-data`입니다.
+ Nginx와 Unicorn을 사용하는 Rails 앱 서버 계층에 속하는 Amazon Linux 또는 RHEL 인스턴스의 경우, 기본값은 `nginx`입니다.
+ 다른 모든 Amazon Linux 또는 RHEL 인스턴스의 경우, 기본값은 `apache`입니다.

```
node[:opsworks][:deploy_user][:group]
```

**user **  
(Linux 한정) 앱의 배포 디렉터리에 대한 `user` 설정(문자열). 기본값은 `deploy`입니다.  

```
node[:opsworks][:deploy_user][:user]
```

# haproxy 속성
<a name="attributes-recipes-haproxy"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

**참고**  
이러한 속성은 Linux 스택에서만 사용할 수 있습니다.

[`haproxy` 속성](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/haproxy/attributes/default.rb)은 [HAProxy 서버](http://haproxy.1wt.eu/) 구성을 지정합니다. 자세한 정보는 [HAProxy Docs](http://cbonte.github.io/haproxy-dconv/configuration-1.5.html)를 참조하세요. 내장 속성을 재정의해 사용자 지정 값을 지정하는 방법에 대한 자세한 정보는 [속성 재정의](workingcookbook-attributes.md) 단원을 참조하세요.


****  

|  |  |  | 
| --- |--- |--- |
| [balance ](#attributes-recipes-haproxy-balance) | [check\$1interval ](#attributes-recipes-haproxy-interval) | [client\$1timeout ](#attributes-recipes-haproxy-client-timeout) | 
| [connect\$1timeout ](#attributes-recipes-haproxy-connect-timeout) | [default\$1max\$1connections ](#attributes-recipes-haproxy-default-max) | [global\$1max\$1connections ](#attributes-recipes-haproxy-global-max) | 
| [health\$1check\$1method ](#attributes-recipes-haproxy-health-method) | [health\$1check\$1url ](#attributes-recipes-haproxy-health-url) | [queue\$1timeout ](#attributes-recipes-haproxy-queue-timeout) | 
| [http\$1request\$1timeout ](#attributes-recipes-haproxy-http-timeout) | [maxcon\$1factor\$1nodejs\$1app ](#attributes-recipes-haproxy-nodejs-app) | [maxcon\$1factor\$1nodejs\$1app\$1ssl ](#attributes-recipes-haproxy-nodejs-ssl) | 
| [maxcon\$1factor\$1php\$1app ](#attributes-recipes-haproxy-php-app) | [maxcon\$1factor\$1php\$1app\$1ssl ](#attributes-recipes-haproxy-php-ssl) | [maxcon\$1factor\$1rails\$1app ](#attributes-recipes-haproxy-rails-app) | 
| [maxcon\$1factor\$1rails\$1app\$1ssl ](#attributes-recipes-haproxy-rails-ssl) | [maxcon\$1factor\$1static ](#attributes-recipes-haproxy-static-app) | [maxcon\$1factor\$1static\$1ssl ](#attributes-recipes-haproxy-static-ssl) | 
| [retries ](#attributes-recipes-haproxy-retries) | [server\$1timeout ](#attributes-recipes-haproxy-server-timeout) | [stats\$1url ](#attributes-recipes-haproxy-stats-url) | 
| [stats\$1user ](#attributes-recipes-haproxy-user) |  |  | 

**balance **  <a name="attributes-recipes-haproxy-balance"></a>
로드 밸런서가 서버를 선택하는 데 사용하는 알고리즘(문자열). 기본값은 `'roundrobin'`입니다. 그 밖의 옵션은 다음과 같습니다.  
+ 'static-rr'
+ 'leastconn'
+ 'source'
+ 'uri'
+ 'url\$1param'
+ 'hdr(name)'
+ 'rdp-cookie'
+ 'rdp-cookie(name)'
이러한 인수에 대한 자세한 정보는 [밸런스](http://cbonte.github.io/haproxy-dconv/configuration-1.5.html)를 참조하세요.  

```
node[:haproxy][:balance]
```

**check\$1interval **  <a name="attributes-recipes-haproxy-interval"></a>
상태 확인 시간 간격(문자열). 기본값은 `'10s'`입니다.  

```
node[:haproxy][:check_interval]
```

**client\$1timeout **  <a name="attributes-recipes-haproxy-client-timeout"></a>
클라이언트가 비활성 상태로 있을 수 있는 최대 시간(문자열). 기본값은 `'60s'`입니다.  

```
node[:haproxy][:client_timeout]
```

**connect\$1timeout **  <a name="attributes-recipes-haproxy-connect-timeout"></a>
HAProxy가 서버 연결 시도 성공을 기다리는 최대 시간(문자열). 기본값은 `'10s'`입니다.  

```
node[:haproxy][:connect_timeout]
```

**default\$1max\$1connections **  <a name="attributes-recipes-haproxy-default-max"></a>
연결의 기본 최대 수(문자열). 기본값은 `'80000'`입니다.  

```
node[:haproxy][:default_max_connections]
```

**global\$1max\$1connections **  <a name="attributes-recipes-haproxy-global-max"></a>
연결의 최대 수(문자열). 기본값은 `'80000'`입니다.  

```
node[:haproxy][:global_max_connections]
```

**health\$1check\$1method **  <a name="attributes-recipes-haproxy-health-method"></a>
상태 확인 메서드(문자열). 기본값은 `'OPTIONS'`입니다.  

```
node[:haproxy][:health_check_method]
```

**health\$1check\$1url **  <a name="attributes-recipes-haproxy-health-url"></a>
서버 상태 확인에 사용되는 URL 경로(문자열). 기본값은 `'/'`입니다.  

```
node[:haproxy][:health_check_url ]
```

**queue\$1timeout **  <a name="attributes-recipes-haproxy-queue-timeout"></a>
무료 연결의 최대 대기 시간(문자열). 기본값은 `'120s'`입니다.  

```
node[:haproxy][:queue_timeout]
```

**http\$1request\$1timeout **  <a name="attributes-recipes-haproxy-http-timeout"></a>
HAProxy가 완전한 HTTP 요청을 기다리는 최대 시간(문자열). 기본값은 `'30s'`입니다.  

```
node[:haproxy][:http_request_timeout]
```

**retries **  <a name="attributes-recipes-haproxy-retries"></a>
서버 연결 실패 후 재시도 횟수(문자열). 기본값은 `'3'`입니다.  

```
node[:haproxy][:retries]
```

**server\$1timeout **  <a name="attributes-recipes-haproxy-server-timeout"></a>
클라이언트가 비활성 상태로 있을 수 있는 최대 시간(문자열). 기본값은 `'60s'`입니다.  

```
node[:haproxy][:server_timeout]
```

**stats\$1url **  <a name="attributes-recipes-haproxy-stats-url"></a>
통계 페이지의 URL 경로(문자열). 기본값은 `'/haproxy?stats'`입니다.  

```
node[:haproxy][:stats_url]
```

**stats\$1user **  <a name="attributes-recipes-haproxy-user"></a>
통계 페이지 사용자 이름(문자열). 기본값은 `'opsworks'`입니다.  

```
node[:haproxy][:stats_user]
```

`maxcon` 속성은 HAProxy가 [백엔드](attributes-json-opsworks-instance.md#attributes-json-opsworks-instance-backends)에 허용하는 최대 연결 수를 계산하는 데 사용되는 로드 비율 승수를 나타냅니다. 예를 들어 `backend` 값이 4인 작은 인스턴스에 Rails 앱 서버가 있다고 가정해 보겠습니다. 즉, OpsWorks Stacks가 해당 인스턴스에 대해 4개의 Rails 프로세스를 구성합니다. 기본 `maxcon_factor_rails_app` 값인 7을 사용하는 경우, HAProxy는 Rails 서버와의 연결 28(4\$17)개를 처리합니다.

**maxcon\$1factor\$1nodejs\$1app **  <a name="attributes-recipes-haproxy-nodejs-app"></a>
Node.js 앱 서버의 maxcon 비율(숫자). 기본값은 `10`입니다.  

```
node[:haproxy][:maxcon_factor_nodejs_app]
```

**maxcon\$1factor\$1nodejs\$1app\$1ssl **  <a name="attributes-recipes-haproxy-nodejs-ssl"></a>
SSL 포함 Node.js 앱 서버의 maxcon 비율(숫자). 기본값은 `10`입니다.  

```
node[:haproxy][:maxcon_factor_nodejs_app_ssl]
```

**maxcon\$1factor\$1php\$1app **  <a name="attributes-recipes-haproxy-php-app"></a>
PHP 앱 서버의 maxcon 비율(숫자). 기본값은 `10`입니다.  

```
node[:haproxy][:maxcon_factor_php_app]
```

**maxcon\$1factor\$1php\$1app\$1ssl **  <a name="attributes-recipes-haproxy-php-ssl"></a>
SSL 포함 PHP 앱 서버의 maxcon 비율(숫자). 기본값은 `10`입니다.  

```
node[:haproxy][:maxcon_factor_php_app_ssl]
```

**maxcon\$1factor\$1rails\$1app **  <a name="attributes-recipes-haproxy-rails-app"></a>
Rails 앱 서버의 maxcon 비율(숫자). 기본값은 `7`입니다.  

```
node[:haproxy][:maxcon_factor_rails_app]
```

**maxcon\$1factor\$1rails\$1app\$1ssl **  <a name="attributes-recipes-haproxy-rails-ssl"></a>
SSL 포함 Rails 앱 서버의 maxcon 비율(숫자). 기본값은 `7`입니다.  

```
node[:haproxy][:maxcon_factor_rails_app_ssl]
```

**maxcon\$1factor\$1static **  <a name="attributes-recipes-haproxy-static-app"></a>
정적 웹 서버의 maxcon 비율(숫자). 기본값은 `15`입니다.  

```
node[:haproxy][:maxcon_factor_static]
```

**maxcon\$1factor\$1static\$1ssl **  <a name="attributes-recipes-haproxy-static-ssl"></a>
SSL 포함 정적 웹 서버의 maxcon 비율(숫자). 기본값은 `15`입니다.  

```
node[:haproxy][:maxcon_factor_static_ssl]
```

# memcached 속성
<a name="attributes-recipes-mem"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

**참고**  
이러한 속성은 Linux 스택에서만 사용할 수 있습니다.

[`memcached` 속성](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/memcached/attributes/default.rb)은 [Memcached](http://memcached.org/) 서버 구성을 지정합니다. 내장 속성을 재정의해 사용자 지정 값을 지정하는 방법에 대한 자세한 정보는 [속성 재정의](workingcookbook-attributes.md) 단원을 참조하세요.


****  

|  |  |  | 
| --- |--- |--- |
| [메모리 ](#attributes-recipes-mem-memory) | [max\$1connections ](#attributes-recipes-mem-max) | [pid\$1file ](#attributes-recipes-mem-pid) | 
| [포트 ](#attributes-recipes-mem-port) | [start\$1command ](#attributes-recipes-mem-start) | [stop\$1command ](#attributes-recipes-mem-stop) | 
| [user ](#attributes-recipes-mem-user) |  |  | 

**메모리 **  <a name="attributes-recipes-mem-memory"></a>
사용할 최대 메모리 양(MB)(숫자). 기본값은 `512`입니다.  

```
node[:memcached][:memory]
```

**max\$1connections **  <a name="attributes-recipes-mem-max"></a>
연결의 최대 수(문자열). 기본값은 `'4096'`입니다.  

```
node[:memcached][:max_connections]
```

**pid\$1file **  <a name="attributes-recipes-mem-pid"></a>
데몬의 프로세스 ID가 포함된 파일(문자열). 기본값은 `'var/run/memcached.pid'`입니다.  

```
node[:memcached][:pid_file]
```

**포트 **  <a name="attributes-recipes-mem-port"></a>
수신 대기할 포트(숫자). 기본값은 `11211`입니다.  

```
node[:memcached][:port]
```

**start\$1command **  <a name="attributes-recipes-mem-start"></a>
시작 명령(문자열). 기본값은 `'/etc/init.d/memcached start'`입니다.  

```
node[:memcached][:start_command]
```

**stop\$1command **  <a name="attributes-recipes-mem-stop"></a>
중지 명령(문자열). 기본값은 `'/etc/init.d/memcached stop'`입니다.  

```
node[:memcached][:stop_command]
```

**user **  <a name="attributes-recipes-mem-user"></a>
사용자(문자열). 기본값은 `'nobody'`입니다.  

```
node[:memcached][:user]
```

# mysql 속성
<a name="attributes-recipes-mysql"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

**참고**  
이러한 속성은 Linux 스택에서만 사용할 수 있습니다.

[`mysql` 속성](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/mysql/attributes/server.rb)은 [MySQL](http://www.mysql.com/) 마스터 구성을 지정합니다. 자세한 정보는 [서버 시스템 변수](http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html)를 참조하세요. 내장 속성을 재정의해 사용자 지정 값을 지정하는 방법에 대한 자세한 정보는 [속성 재정의](workingcookbook-attributes.md) 단원을 참조하세요.


****  

|  |  |  | 
| --- |--- |--- |
| [basedir ](#attributes-recipes-mysql-basedir) | [bind\$1address ](#attributes-recipes-mysql-bind) | [클라이언트 ](#attributes-recipes-mysql-clients) | 
| [conf\$1dir ](#attributes-recipes-mysql-conf) | [confd\$1dir ](#attributes-recipes-mysql-confd) | [datadir ](#attributes-recipes-mysql-datadir) | 
| [grants\$1path ](#attributes-recipes-mysql-grants) | [mysql\$1bin ](#attributes-recipes-mysql-bin) | [mysqladmin\$1bin ](#attributes-recipes-mysql-admin-bin) | 
| [pid\$1file ](#attributes-recipes-mysql-pid) | [포트 ](#attributes-recipes-mysql-port) | [root\$1group ](#attributes-recipes-mysql-group) | 
| [server\$1root\$1password ](#attributes-recipes-mysql-pwd) | [소켓 ](#attributes-recipes-mysql-socket) | [tunable 속성](#attributes-recipes-mysql-tunable) | 

**basedir **  <a name="attributes-recipes-mysql-basedir"></a>
기본 디렉터리(문자열). 기본값은 `'/usr'`입니다.  

```
node[:mysql][:basedir]
```

**bind\$1address **  <a name="attributes-recipes-mysql-bind"></a>
MySQL이 수신 대기하는 주소(문자열). 기본값은 `'0.0.0.0'`입니다.  

```
node[:mysql][:bind_address]
```

**클라이언트 **  <a name="attributes-recipes-mysql-clients"></a>
클라이언트 목록(문자열의 목록).  

```
node[:mysql][:clients]
```

**conf\$1dir **  <a name="attributes-recipes-mysql-conf"></a>
구성 파일이 포함된 디렉터리(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux 및 RHEL: `'/etc'`
+ Ubuntu: `'/etc/mysql'`

```
node[:mysql][:conf_dir]
```

**confd\$1dir **  <a name="attributes-recipes-mysql-confd"></a>
추가 구성 파일이 포함된 디렉터리(문자열). 기본값은 `'/etc/mysql/conf.d'`입니다.  

```
node[:mysql][:confd_dir]
```

**datadir **  <a name="attributes-recipes-mysql-datadir"></a>
데이터 디렉터리(문자열). 기본값은 `'/var/lib/mysql'`입니다.  

```
node[:mysql][:datadir]
```

**grants\$1path **  <a name="attributes-recipes-mysql-grants"></a>
그랜트 테이블 위치(문자열). 기본값은 `'/etc/mysql_grants.sql'`입니다.  

```
node[:mysql][:grants_path]
```

**mysql\$1bin **  <a name="attributes-recipes-mysql-bin"></a>
mysql 이진수 위치(문자열). 기본값은 `'/usr/bin/mysql'`입니다.  

```
node[:mysql][:mysql_bin]
```

**mysqladmin\$1bin **  <a name="attributes-recipes-mysql-admin-bin"></a>
mysqladmin 위치(문자열). 기본값은 `'/usr/bin/mysqladmin'`입니다.  

```
node[:mysql][:mysqladmin_bin]
```

**pid\$1file **  <a name="attributes-recipes-mysql-pid"></a>
데몬의 프로세스 ID가 포함된 파일(문자열). 기본값은 `'/var/run/mysqld/mysqld.pid'`입니다.  

```
node[:mysql][:pid_file]
```

**포트 **  <a name="attributes-recipes-mysql-port"></a>
서버가 수신 대기하는 포트(숫자). 기본값은 `3306`입니다.  

```
node[:mysql][:port]
```

**root\$1group **  <a name="attributes-recipes-mysql-group"></a>
루트 그룹(문자열). 기본값은 `'root'`입니다.  

```
node[:mysql][:root_group]
```

**server\$1root\$1password **  <a name="attributes-recipes-mysql-pwd"></a>
서버의 루트 암호(문자열). 기본값은 무작위로 생성됩니다.  

```
node[:mysql][:server_root_password]
```

**소켓 **  <a name="attributes-recipes-mysql-socket"></a>
소켓 파일의 위치(문자열). 기본값은 `'/var/lib/mysql/mysql.sock'`입니다. 기본값은 다음과 같습니다.  
+ Amazon Linux 및 RHEL: `'/var/lib/mysql/mysql.sock'`
+ Ubuntu: `'/var/run/mysqld/mysqld.sock'`

```
node[:mysql][:socket]
```

**tunable 속성**  <a name="attributes-recipes-mysql-tunable"></a>
tunable 속성은 성능 튜닝에 사용됩니다.    
****    
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ko_kr/opsworks/latest/userguide/attributes-recipes-mysql.html)  
**back\$1log **  <a name="attributes-recipes-mysql-tunable-back"></a>
대기 중인 요청의 최대 수(문자열). 기본값은 `'128'`입니다.  

```
node[:mysql][:tunable][:back_log]
```  
**innodb\$1additional\$1mem\$1pool\$1size **  <a name="attributes-recipes-mysql-tunable-mem"></a>
[Innodb](http://dev.mysql.com/doc/refman/5.5/en/innodb-storage-engine.html)가 내부 데이터 구조를 저장하는 데 사용하는 풀의 크기(문자열). 기본값은 `'20M'`입니다.  

```
node[:mysql][:tunable][:innodb_additional_mem_pool_size]
```  
**innodb\$1buffer\$1pool\$1size **  <a name="attributes-recipes-mysql-tunable-buffer"></a>
[Innodb](http://dev.mysql.com/doc/refman/5.5/en/innodb-storage-engine.html) 버퍼 풀 크기(문자열). 속성 값은 OpsWorks Stacks에서 설정하며 인스턴스 유형에 따라 다르지만 사용자 지정 JSON 또는 사용자 지정 속성 파일을 사용하여 [재정](workingcookbook-attributes.md)의할 수 있습니다.  

```
node[:mysql][:tunable][:innodb_buffer_pool_size]
```  
**innodb\$1flush\$1log\$1at\$1trx\$1commit **  <a name="attributes-recipes-mysql-tunable-flush"></a>
[Innodb](http://dev.mysql.com/doc/refman/5.5/en/innodb-storage-engine.html)가 로그 버퍼를 플러시하는 빈도(문자열). 기본값은 `'2'`입니다. 자세한 정보는 [innodb\$1flush\$1log\$1at\$1trx\$1commit](http://dev.mysql.com/doc/refman/5.1/en/innodb-parameters.html#sysvar_innodb_flush_log_at_trx_commit) 단원을 참조하세요.  

```
node[:mysql][:tunable][:innodb_flush_log_at_trx_commit]
```  
**innodb\$1lock\$1wait\$1timeout **  <a name="attributes-recipes-mysql-tunable-lock"></a>
[Innodb](http://dev.mysql.com/doc/refman/5.5/en/innodb-storage-engine.html) 트랜잭션이 행 잠금을 기다리는 최대 시간(초)(문자열). 기본값은 `'50'`입니다.  

```
node[:mysql][:tunable][:innodb_lock_wait_timeout]
```  
**key\$1buffer **  <a name="attributes-recipes-mysql-tunable-key"></a>
인덱스 버퍼 크기(문자열). 기본값은 `'250M'`입니다.  

```
node[:mysql][:tunable][:key_buffer]
```  
**log\$1slow\$1queries **  <a name="attributes-recipes-mysql-tunable-slow"></a>
느린 쿼리 로그 파일의 위치(문자열). 기본값은 `'/var/log/mysql/mysql-slow.log'`입니다.  

```
node[:mysql][:tunable][:log_slow_queries]
```  
**long\$1query\$1time **  <a name="attributes-recipes-mysql-tunable-long"></a>
쿼리를 장기 쿼리로 지정하는 데 필요한 시간(초)(문자열). 기본값은 `'1'`입니다.  

```
node[:mysql][:tunable][:long_query_time]
```  
**max\$1allowed\$1packet **  <a name="attributes-recipes-mysql-tunable-packet"></a>
허용되는 최대 패킷 크기(문자열). 기본값은 `'32M'`입니다.  

```
node[:mysql][:tunable][:max_allowed_packet]
```  
**max\$1connections **  <a name="attributes-recipes-mysql-tunable-connections"></a>
동시 클라이언트 연결 최대 수(문자열). 기본값은 `'2048'`입니다.  

```
node[:mysql][:tunable][:max_connections]
```  
**max\$1heap\$1table\$1size **  <a name="attributes-recipes-mysql-tunable-heap"></a>
사용자가 만든 `MEMORY` 테이블의 최대 크기(문자열). 기본값은 `'32M'`입니다.  

```
node[:mysql][:tunable][:max_heap_table_size]
```  
**net\$1read\$1timeout **  <a name="attributes-recipes-mysql-tunable-net-read"></a>
연결로부터 더 많은 데이터를 기다릴 시간(초)(문자열). 기본값은 `'30'`입니다.  

```
node[:mysql][:tunable][:net_read_timeout]
```  
**net\$1write\$1timeout **  <a name="attributes-recipes-mysql-tunable-net-write"></a>
블록이 연결에 작성되기를 기다리는 시간(초)(문자열). 기본값은 `'30'`입니다.  

```
node[:mysql][:tunable][:net_write_timeout]
```  
**query\$1cache\$1limit **  <a name="attributes-recipes-mysql-tunable-cache-limit"></a>
캐시된 개별 쿼리의 최대 크기(문자열). 기본값은 `'2M'`입니다.  

```
node[:mysql][:tunable][:query_cache_limit]
```  
**query\$1cache\$1size **  <a name="attributes-recipes-mysql-tunable-cache-size"></a>
쿼리 캐시 크기(문자열). 기본값은 `'128M'`입니다.  

```
node[:mysql][:tunable][:query_cache_size]
```  
**query\$1cache\$1type **  <a name="attributes-recipes-mysql-tunable-cache-type"></a>
쿼리 캐시 유형(문자열). 가능한 값은 다음과 같습니다.  
+ `'0'`: 캐시 또는 캐시된 데이터 검색 없음.
+ `'1'`: `SELECT SQL_NO_CACHE`로 시작하지 않는 Cache 문.
+ `'2'`: `SELECT SQL_CACHE`로 시작하는 Cache 문.
기본값은 `'1'`입니다.  

```
node[:mysql][:tunable][:query_cache_type]
```  
**thread\$1cache\$1size **  <a name="attributes-recipes-mysql-tunable-thread-cache"></a>
재사용을 위해 캐시되는 클라이언트 스레드 수(문자열). 기본값은 `'8'`입니다.  

```
node[:mysql][:tunable][:thread_cache_size]
```  
**thread\$1stack **  <a name="attributes-recipes-mysql-tunable-thread-stack"></a>
각 스레드의 스택 크기(문자열). 기본값은 `'192K'`입니다.  

```
node[:mysql][:tunable][:thread_stack]
```  
**wait\$1timeout **  <a name="attributes-recipes-mysql-tunable-wait"></a>
상호 작용하지 않는 연결을 기다릴 시간(초). 기본값은 `'180'`입니다(문자열).  

```
node[:mysql][:tunable][:wait_timeout]
```  
**table\$1cache **  <a name="attributes-recipes-mysql-tunable-table"></a>
열려 있는 테이블의 수(문자열). 기본값은 `'2048'`입니다.  

```
node[:mysql][:tunable][:table_cache]
```

# nginx 속성
<a name="attributes-recipes-nginx"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

**참고**  
이러한 속성은 Linux 스택에서만 사용할 수 있습니다.

[`nginx` 속성](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/nginx/attributes/nginx.rb)은 [Nginx](http://wiki.nginx.org/Main) 구성을 지정합니다. 자세한 정보는 [명령 인덱스](http://wiki.nginx.org/DirectiveIndex)를 참조하세요. 내장 속성을 재정의해 사용자 지정 값을 지정하는 방법에 대한 자세한 정보는 [속성 재정의](workingcookbook-attributes.md) 단원을 참조하세요.


****  

|  |  |  | 
| --- |--- |--- |
| [이진수 ](#attributes-recipes-nginx-binary) | [dir ](#attributes-recipes-nginx-dir) | [gzip ](#attributes-recipes-nginx-gzip) | 
| [gzip\$1comp\$1level ](#attributes-recipes-nginx-gzip-comp) | [gzip\$1disable ](#attributes-recipes-nginx-gzip-disable) | [gzip\$1http\$1version ](#attributes-recipes-nginx-gzip-http) | 
| [gzip\$1proxied ](#attributes-recipes-nginx-gzip-proxied) | [gzip\$1static ](#attributes-recipes-nginx-gzip-static) | [gzip\$1types ](#attributes-recipes-nginx-gzip-types) | 
| [gzip\$1vary ](#attributes-recipes-nginx-gzip-vary) | [keepalive ](#attributes-recipes-nginx-keepalive) | [keepalive\$1timeout ](#attributes-recipes-nginx-keepalive-timeout) | 
| [log\$1dir ](#attributes-recipes-nginx-log) | [user ](#attributes-recipes-nginx-user) | [server\$1names\$1hash\$1bucket\$1size](#attributes-recipes-nginx-worker-hash) | 
| [worker\$1processes ](#attributes-recipes-nginx-worker-processes) | [worker\$1connections ](#attributes-recipes-nginx-worker-connections) |  | 

**이진수 **  <a name="attributes-recipes-nginx-binary"></a>
Nginx 이진수의 위치(문자열). 기본값은 `'/usr/sbin/nginx'`입니다.  

```
node[:nginx][:binary]
```

**dir **  <a name="attributes-recipes-nginx-dir"></a>
구성 파일 등의 파일 위치(문자열). 기본값은 `'/etc/nginx'`입니다.  

```
node[:nginx][:dir]
```

**gzip **  <a name="attributes-recipes-nginx-gzip"></a>
gzip 압축이 활성화되어 있는지 여부(문자열). 가능한 값은 `'on'`와 `'off'`입니다. 기본값은 `'on'`입니다.  
압축은 보안 위험을 초래할 수 있습니다. 압축을 완전히 비활성화하려면 이 속성을 다음과 같이 설정하세요.  

```
node[:nginx][:gzip] = 'off'
```

```
node[:nginx][:gzip]
```

**gzip\$1comp\$1level **  <a name="attributes-recipes-nginx-gzip-comp"></a>
1-9까지의 압축 수준(1이 최소 압축)(문자열). 기본값은 `'2'`입니다.  

```
node[:nginx][:gzip_comp_level]
```

**gzip\$1disable **  <a name="attributes-recipes-nginx-gzip-disable"></a>
지정된 사용자 에이전트에 대해 gzip 압축을 비활성화합니다(문자열). 값은 정규 표현식이며 기본값은 `'MSIE [1-6].(?!.*SV1)'`입니다.  

```
node[:nginx][:gzip_disable]
```

**gzip\$1http\$1version **  <a name="attributes-recipes-nginx-gzip-http"></a>
지정된 HTTP 버전에 대해 gzip 압축을 활성화합니다(문자열). 기본값은 `'1.0'`입니다.  

```
node[:nginx][:gzip_http_version]
```

**gzip\$1proxied **  <a name="attributes-recipes-nginx-gzip-proxied"></a>
프록시 요청에 대한 응답을 압축할지 여부 및 압축 방법이며, 다음 값 중 하나를 취할 수 있습니다(문자열).  
+ `'off'`: 프록시된 요청을 압축하지 않습니다
+ `'expired'`: Expire 헤더가 캐싱을 금지하는 경우, 압축합니다
+ `'no-cache'`: Cache-Control 헤더가 "no-cache"로 설정된 경우, 압축합니다
+ `'no-store'`: Cache-Control 헤더가 "no-store"로 설정된 경우, 압축합니다
+ `'private'`: Cache-Control 헤더가 "private"으로 설정된 경우, 압축합니다
+ `'no_last_modified'`: Last-Modified가 설정되지 않은 경우, 압축합니다
+ `'no_etag'`: 요청에 ETag 헤더가 없는 경우, 압축합니다
+ `'auth'`: 요청에 Authorization 헤더가 포함된 경우, 압축합니다
+ `'any'`: 모든 프록시된 요청을 압축합니다 
기본값은 `'any'`입니다.  

```
node[:nginx][:gzip_proxied]
```

**gzip\$1static **  <a name="attributes-recipes-nginx-gzip-static"></a>
gzip 정적 모듈이 활성화되어 있는지 여부(문자열). 가능한 값은 `'on'`와 `'off'`입니다. 기본값은 `'on'`입니다.  

```
node[:nginx][:gzip_static]
```

**gzip\$1types **  <a name="attributes-recipes-nginx-gzip-types"></a>
압축할 MIME 형식의 목록(문자열의 목록). 기본값은 `['text/plain', 'text/html', 'text/css', 'application/x-javascript', 'text/xml', 'application/xml', 'application/xml+rss', 'text/javascript']`입니다.  

```
node[:nginx][:gzip_types]
```

**gzip\$1vary **  <a name="attributes-recipes-nginx-gzip-vary"></a>
`Vary:Accept-Encoding `응답 헤더를 활성화할지 여부(문자열). 가능한 값은 `'on'`와 `'off'`입니다. 기본값은 `'on'`입니다.  

```
node[:nginx][:gzip_vary]
```

**keepalive **  <a name="attributes-recipes-nginx-keepalive"></a>
연결 유지 연결을 활성화할지 여부(문자열). 가능한 값은 `'on'`와 `'off'`입니다. 기본값은 `'on'`입니다.  

```
node[:nginx][:keepalive]
```

**keepalive\$1timeout **  <a name="attributes-recipes-nginx-keepalive-timeout"></a>
연결 유지 연결이 계속 열려 있는 최대 시간(초)(숫자). 기본값은 `65`입니다.  

```
node[:nginx][:keepalive_timeout]
```

**log\$1dir **  <a name="attributes-recipes-nginx-log"></a>
로그 파일의 위치(문자열). 기본값은 `'/var/log/nginx'`입니다.  

```
node[:nginx][:log_dir]
```

**user **  <a name="attributes-recipes-nginx-user"></a>
사용자(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux 및 RHEL: `'www-data'`
+ Ubuntu: `'nginx'`

```
node[:nginx][:user]
```

**server\$1names\$1hash\$1bucket\$1size**  <a name="attributes-recipes-nginx-worker-hash"></a>
서버 이름의 해시 테이블 버킷 크기로서 `32`, `64` 또는 `128`로 설정할 수 있습니다(숫자). 기본값은 `64`입니다.  

```
node[:nginx][:server_names_hash_bucket_size]
```

**worker\$1processes **  <a name="attributes-recipes-nginx-worker-processes"></a>
worker 프로세스의 수(숫자). 기본값은 `10`입니다.  

```
node[:nginx][:worker_processes]
```

**worker\$1connections **  <a name="attributes-recipes-nginx-worker-connections"></a>
worker 연결의 최대 수(숫자). 기본값은 `1024`입니다. 클라이언트의 최대 수는 `worker_processes * worker_connections`로 설정됩니다.  

```
node[:nginx][:worker_connections]
```

# opsworks\$1berkshelf 속성
<a name="attributes-recipes-berkshelf"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

**참고**  
이러한 속성은 Linux 스택에서만 사용할 수 있습니다.

[`opsworks_berkshelf` 속성](https://github.com/aws/opsworks-cookbooks/blob/master-chef-11.10/opsworks_berkshelf/attributes/default.rb)은 Berkshelf 구성을 지정합니다. 자세한 정보는 [Berkshelf](http://berkshelf.com/)를 참조하세요. 내장 속성을 재정의해 사용자 지정 값을 지정하는 방법에 대한 자세한 정보는 [속성 재정의](workingcookbook-attributes.md) 단원을 참조하세요.

**debug**  <a name="attributes-recipes-berkshelf-debug"></a>
Chef 로그에 Berkshelf 디버깅 정보를 포함할지 여부(부울). 기본값은 `false`입니다.  

```
node['opsworks_berkshelf]['debug']
```

# opsworks\$1java 속성
<a name="attributes-recipes-java"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

**참고**  
이러한 속성은 Linux 스택에서만 사용할 수 있습니다.

[`opsworks_java` 속성](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/opsworks_java/attributes/default.rb)은 [Tomcat](http://tomcat.apache.org/) 서버 구성을 지정합니다. 자세한 정보는 [Apache Tomcat 구성 참조](http://tomcat.apache.org/tomcat-5.5-doc/config/)를 참조하세요. 내장 속성을 재정의해 사용자 지정 값을 지정하는 방법에 대한 자세한 정보는 [속성 재정의](workingcookbook-attributes.md) 단원을 참조하세요.


****  

|  |  |  | 
| --- |--- |--- |
| [datasources ](#attributes-recipes-java-datasources) | [java\$1app\$1server\$1version ](#attributes-recipes-java-server-version) | [java\$1shared\$1lib\$1dir ](#attributes-recipes-java-shared-lib) | 
| [jvm\$1pkg Attributes ](#attributes-recipes-java-pkg) | [custom\$1pkg\$1location\$1url\$1debian ](#attributes-recipes-java-pkg-debian) | [java\$1home\$1basedir ](#attributes-recipes-java-pkg-basedir) | 
| [custom\$1pkg\$1location\$1url\$1rhel ](#attributes-recipes-java-pkg-rhel) | [use\$1custom\$1pkg\$1location ](#attributes-recipes-java-pkg-use) | [jvm\$1options ](#attributes-recipes-java-jvm-options) | 
| [jvm\$1version ](#attributes-recipes-java-jvm-version) | [tomcat 속성](#attributes-recipes-java-tomcat) |  | 

**datasources **  <a name="attributes-recipes-java-datasources"></a>
JNDI 리소스 이름을 정의하는 속성 집합(문자열). 이 속성을 사용하는 방법에 대한 자세한 정보는 [백엔드 데이터베이스를 사용하여 JSP 앱 배포](layers-java-deploy.md#layers-java-deploy-jsp-db) 단원을 참조하세요. 기본값인 빈 해시는 앱 짧은 이름과 JNDI 이름 사이의 사용자 지정 매핑으로 채울 수 있습니다. 자세한 내용은 [백엔드 데이터베이스를 사용하여 JSP 앱 배포](layers-java-deploy.md#layers-java-deploy-jsp-db) 섹션을 참조하세요.  

```
node['opsworks_java']['datasources']
```

**java\$1app\$1server\$1version **  <a name="attributes-recipes-java-server-version"></a>
Java 앱 서버 버전(숫자). 기본값은 `7`입니다. 이 속성을 재정의하여 버전 6을 지정할 수 있습니다. 기본이 아닌 JDK를 설치하는 경우, 이 속성은 무시됩니다.  

```
node['opsworks_java']['java_app_server_version']
```

**java\$1shared\$1lib\$1dir **  <a name="attributes-recipes-java-shared-lib"></a>
Java 공유 라이브러리의 디렉터리(문자열). 기본값은 `/usr/share/java`입니다.  

```
node['opsworks_java']['java_shared_lib_dir']
```

**jvm\$1pkg Attributes **  <a name="attributes-recipes-java-pkg"></a>
재정의하여 기본이 아닌 JDK를 설치할 수 있는 속성 세트.    
**use\$1custom\$1pkg\$1location **  <a name="attributes-recipes-java-pkg-use"></a>
OpenJDK 대신 사용자 지정 JDK를 설치할지 여부(부울). 기본값은 `false`입니다.  

```
node['opsworks_java']['jvm_pkg']['use_custom_pkg_location']
```  
**custom\$1pkg\$1location\$1url\$1debian **  <a name="attributes-recipes-java-pkg-debian"></a>
Ubuntu 인스턴스에 설치할 JDK 패키지의 위치(문자열). 기본값은 `'http://aws.amazon.com/'`이며, 별 의미가 없는 단순한 초기화 값입니다. 기본이 아닌 JDK를 설치하려면 이 속성을 재정의해 적절한 URL로 설정해야 합니다.  

```
node['opsworks_java']['jvm_pkg']['custom_pkg_location_url_debian']
```  
**custom\$1pkg\$1location\$1url\$1rhel **  <a name="attributes-recipes-java-pkg-rhel"></a>
Amazon Linux 및 RHEL 인스턴스에 설치할 JDK 패키지의 위치(문자열). 기본값은 `'http://aws.amazon.com/'`이며, 별 의미가 없는 단순한 초기화 값입니다. 기본이 아닌 JDK를 설치하려면 이 속성을 재정의해 적절한 URL로 설정해야 합니다.  

```
node['opsworks_java']['jvm_pkg']['custom_pkg_location_url_rhel']
```  
**java\$1home\$1basedir **  <a name="attributes-recipes-java-pkg-basedir"></a>
JDK 패키지가 추출될 디렉터리(문자열). 기본값은 `/usr/local`입니다. RPM 패키지의 경우, 이 설정을 지정할 필요가 없습니다. 완전한 디렉터리 구조가 포함되어 있기 때문입니다.  

```
node['opsworks_java']['jvm_pkg']['java_home_basedir']
```

**jvm\$1options **  <a name="attributes-recipes-java-jvm-options"></a>
JVM 명령줄 옵션으로서 힙 크기 같은 설정을 지정할 수 있습니다(문자열). 공통 옵션 세트는 `-Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC`입니다. 기본값은 no options입니다.  

```
node['opsworks_java']['jvm_options']
```

**jvm\$1version **  <a name="attributes-recipes-java-jvm-version"></a>
OpenJDK 버전(숫자). 기본값은 `7`입니다. 이 속성을 재정의하여 OpenJDK 버전 6을 지정할 수 있습니다. 기본이 아닌 JDK를 설치하는 경우, 이 속성은 무시됩니다.  

```
node['opsworks_java']['jvm_version']
```

**tomcat 속성**  <a name="attributes-recipes-java-tomcat"></a>
재정의하여 기본 Tomcat 구성을 설치할 수 있는 속성 세트.    
****    
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ko_kr/opsworks/latest/userguide/attributes-recipes-java.html)  
**ajp\$1port **  <a name="attributes-recipes-java-ajp-port"></a>
AJP 포트(숫자). 기본값은 `8009`입니다.  

```
node['opsworks_java']['tomcat]['ajp_port']
```  
**apache\$1tomcat\$1bind\$1mod **  <a name="attributes-recipes-java-bind-mod"></a>
프록시 모듈(문자열). 기본값은 `proxy_http`입니다. 이 속성을 재정의하여 AJP 프록시 모듈 `proxy_ajp`를 지정할 수 있습니다.  

```
node['opsworks_java']['tomcat]['apache_tomcat_bind_mod']
```  
**apache\$1tomcat\$1bind\$1path **  <a name="attributes-recipes-java-bind-path"></a>
Apache-Tomcat 바인딩 경로(문자열). 기본값은 `/`입니다. 이 속성은 재정의하면 안 됩니다. 바인딩 경로를 변경하면 애플리케이션 작동이 중지될 수 있습니다.  

```
node['opsworks_java']['tomcat]['apache_tomcat_bind_path']
```  
**auto\$1deploy **  <a name="attributes-recipes-java-deploy"></a>
autodeploy할지 여부(부울). 기본값은 `true`입니다.  

```
node['opsworks_java']['tomcat]['auto_deploy']
```  
**connection\$1timeout **  <a name="attributes-recipes-java-timeout"></a>
연결 제한 시간(밀리초)(숫자). 기본값은 `20000`(20초)입니다.  

```
node['opsworks_java']['tomcat]['connection_timeout']
```  
**mysql\$1connector\$1jar **  <a name="attributes-recipes-java-connector"></a>
MySQL 커넥터 라이브러리의 JAR 파일(문자열). 기본값은 `mysql-connector-java.jar`입니다.  

```
node['opsworks_java']['tomcat]['mysql_connector_jar']
```  
**포트 **  <a name="attributes-recipes-java-port"></a>
표준 포트(숫자). 기본값은 `8080`입니다.  

```
node['opsworks_java']['tomcat]['port']
```  
**secure\$1port **  <a name="attributes-recipes-java-secure-port"></a>
보안 포트(숫자). 기본값은 `8443`입니다.  

```
node['opsworks_java']['tomcat]['secure_port']
```  
**shutdown\$1port **  <a name="attributes-recipes-java-shutdown-port"></a>
 종료 포트(숫자). 기본값은 `8005`입니다.  

```
node['opsworks_java']['tomcat]['shutdown_port']
```  
**threadpool\$1max\$1threads **  <a name="attributes-recipes-java-threadpool-max"></a>
스레드 풀의 스레드 최대 수(숫자). 기본값은 `150`입니다.  

```
node['opsworks_java']['tomcat]['threadpool_max_threads']
```  
**threadpool\$1min\$1spare\$1threads **  <a name="attributes-recipes-java-threadpool-min"></a>
스레드 풀의 예비 스레드 최소 수(숫자). 기본값은 `4`입니다.  

```
node['opsworks_java']['tomcat]['threadpool_min_spare_threads']
```  
**unpack\$1wars **  <a name="attributes-recipes-java-unpack"></a>
WAR 파일의 압축을 풀지 여부(부울). 기본값은 `true`입니다.  

```
node['opsworks_java']['tomcat]['unpack_wars']
```  
**uri\$1encoding **  <a name="attributes-recipes-java-encoding"></a>
URI 인코딩(문자열). 기본값은 `UTF-8`입니다.  

```
node['opsworks_java']['tomcat]['uri_encoding']
```  
**use\$1ssl\$1connector **  <a name="attributes-recipes-java-ssl"></a>
SSL 커넥터를 사용할지 여부(부울). 기본값은 `false`입니다.  

```
node['opsworks_java']['tomcat]['use_ssl_connector']
```  
**use\$1threadpool **  <a name="attributes-recipes-java-threadpool"></a>
스레드 풀을 사용할지 여부(부울). 기본값은 `false`입니다.  

```
node['opsworks_java']['tomcat]['use_threadpool']
```  
**userdatabase\$1pathname **  <a name="attributes-recipes-java-userdb"></a>
사용자 데이터베이스 경로 이름(문자열). 기본값은 `conf/tomcat-users.xml`입니다.  

```
node['opsworks_java']['tomcat]['userdatabase_pathname']
```

# passenger\$1apache2 Attributes
<a name="attributes-recipes-passenger"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

**참고**  
이러한 속성은 Linux 스택에서만 사용할 수 있습니다.

[`passenger_apache2` 속성](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/passenger_apache2/attributes/passenger.rb)은 [Phusion Passenger](https://www.phusionpassenger.com/) 구성을 지정합니다. 자세한 정보는 [Phusion Passenger 사용 설명서, Apache 버전](http://www.modrails.com/documentation/Users%20guide%20Apache.html) 단원을 참조하세요. 내장 속성을 재정의해 사용자 지정 값을 지정하는 방법에 대한 자세한 정보는 [속성 재정의](workingcookbook-attributes.md) 단원을 참조하세요.


****  

|  |  |  | 
| --- |--- |--- |
| [friendly\$1error\$1pages](#attributes-recipes-passenger-friendly-error-pages) | [gem\$1bin ](#attributes-recipes-passenger-gem-bin) | [gems\$1path](#attributes-recipes-passenger-gems-path) | 
| [high\$1performance\$1mode ](#attributes-recipes-passenger-perf) | [root\$1path ](#attributes-recipes-passenger-root) | [max\$1instances\$1per\$1app ](#attributes-recipes-passenger-instances) | 
| [max\$1pool\$1size ](#attributes-recipes-passenger-max-pool) | [max\$1requests](#attributes-recipes-passenger-max-requests) | [module\$1path ](#attributes-recipes-passenger-mod_path) | 
| [pool\$1idle\$1time ](#attributes-recipes-passenger-pool-idle) | [rails\$1app\$1spawner\$1idle\$1time ](#attributes-recipes-passenger-rails-app) | [rails\$1framework\$1spawner\$1idle\$1time ](#attributes-recipes-passenger-rails-framework) | 
| [rails\$1spawn\$1method ](#attributes-recipes-passenger-rails-spawn) | [ruby\$1bin ](#attributes-recipes-passenger-ruby-bin) | [ruby\$1wrapper\$1bin ](#attributes-recipes-passenger-ruby-wrapper) | 
| [stat\$1throttle\$1rate ](#attributes-recipes-passenger-throttle) | [버전](#attributes-recipes-passenger-version) |  | 

**friendly\$1error\$1pages**  <a name="attributes-recipes-passenger-friendly-error-pages"></a>
애플리케이션 시작이 실패하는 경우, 익숙한 오류 페이지를 표시할지 여부(문자열). 이 속성은 'on' 또는 'off'로 설정할 수 있으며, 기본 값은 'off'입니다.  

```
node[:passenger][:friendly_error_pages]
```

**gem\$1bin **  <a name="attributes-recipes-passenger-gem-bin"></a>
Gem 이진수의 위치(문자열). 기본값은 `'/usr/local/bin/gem'`입니다.  

```
node[:passenger][:gem_bin]
```

**gems\$1path**  <a name="attributes-recipes-passenger-gems-path"></a>
gems 경로(문자열). 기본값은 인스턴스의 Ruby 버전에 따라 다릅니다. 예제:  
+ Ruby 버전 1.8: `'/usr/local/lib/ruby/gems/1.8/gems'`
+ Ruby 버전 1.9: `'/usr/local/lib/ruby/gems/1.9.1/gems'`

```
node[:passenger][:gems_path]
```

**high\$1performance\$1mode **  <a name="attributes-recipes-passenger-perf"></a>
Passenger의 고성능 모드를 사용할지 여부(문자열). 가능한 값은 `'on'`와 `'off'`입니다. 기본값은 `'off'`입니다.  

```
node[:passenger][:high_performance_mode ]
```

**root\$1path **  <a name="attributes-recipes-passenger-root"></a>
Passenger 루트 디렉터리(문자열). 기본값은 Ruby 및 Passenger 버전에 따라 다릅니다. Chef 구문에서 값은 `"#{node[:passenger][:gems_path]}/passenger-#{passenger[:version]}"`입니다.  

```
node[:passenger][:root_path]
```

**max\$1instances\$1per\$1app **  <a name="attributes-recipes-passenger-instances"></a>
앱당 애플리케이션 프로세스 최대 수(숫자). 기본값은 `0`입니다. 자세한 정보는 [PassengerMaxInstancesPerApp](http://www.modrails.com/documentation/Users%20guide%20Apache.html#_passengermaxinstancesperapp_lt_integer_gt) 단원을 참조하세요.  

```
node[:passenger][:max_instances_per_app]
```

**max\$1pool\$1size **  <a name="attributes-recipes-passenger-max-pool"></a>
애플리케이션 프로세서의 최대 수(숫자). 기본값은 `8`입니다. 자세한 정보는 [PassengerMaxPoolSize](http://www.modrails.com/documentation/Users%20guide%20Apache.html#_passengermaxpoolsize_lt_integer_gt)를 참조하세요.  

```
node[:passenger][:max_pool_size]
```

**max\$1requests**  <a name="attributes-recipes-passenger-max-requests"></a>
요청의 최대 수(숫자). 기본값은 `0`입니다.  

```
node[:passenger][:max_requests]
```

**module\$1path **  <a name="attributes-recipes-passenger-mod_path"></a>
모듈 경로(문자열). 기본값은 다음과 같습니다.  
+ Amazon Linux 및 RHEL: `"#{node['apache']['libexecdir']}/mod_passenger.so"`
+ Ubuntu: `"#{passenger[:root\$1path]}/ext/apache2/mod_passenger.so"`

```
node[:passenger][:module_path]
```

**pool\$1idle\$1time **  <a name="attributes-recipes-passenger-pool-idle"></a>
애플리케이션 프로세스가 유휴 상태로 있을 수 있는 최대 시간(초)(숫자). 기본값은 `14400`(4시간)입니다. 자세한 정보는 [PassengerPoolIdleTime](http://www.modrails.com/documentation/Users%20guide%20Apache.html#PassengerPoolIdleTime) 단원을 참조하세요.  

```
node[:passenger][:pool_idle_time]
```

**rails\$1app\$1spawner\$1idle\$1time **  <a name="attributes-recipes-passenger-rails-app"></a>
Rails 앱 스포너의 최대 유휴 시간(숫자). 이 속성이 0으로 설정되면 앱 스포너는 제한 시간이 없습니다. 기본값은 `0`입니다. 자세한 정보는 [Spawning Methods Explained](http://www.modrails.com/documentation/Users%20guide%20Apache.html#spawning_methods_explained)를 참조하세요.  

```
node[:passenger][:rails_app_spawner_idle_time]
```

**rails\$1framework\$1spawner\$1idle\$1time **  <a name="attributes-recipes-passenger-rails-framework"></a>
Rails 프레임워크 스포너의 최대 유휴 시간(숫자). 이 속성이 0으로 설정되면 프레임워크 스포너는 제한 시간이 없습니다. 기본값은 `0`입니다. 자세한 정보는 [Spawning Methods Explained](http://www.modrails.com/documentation/Users%20guide%20Apache.html#spawning_methods_explained)를 참조하세요.  

```
node[:passenger][:rails_framework_spawner_idle_time]
```

**rails\$1spawn\$1method **  <a name="attributes-recipes-passenger-rails-spawn"></a>
Rails 복제 메서드(문자열). 기본값은 `'smart-lv2'`입니다. 자세한 정보는 [Spawning Methods Explained](http://www.modrails.com/documentation/Users%20guide%20Apache.html#spawning_methods_explained)를 참조하세요.  

```
node[:passenger][:rails_spawn_method]
```

**ruby\$1bin **  <a name="attributes-recipes-passenger-ruby-bin"></a>
Ruby 이진수의 위치(문자열). 기본값은 `'/usr/local/bin/ruby'`입니다.  

```
node[:passenger][:ruby_bin]
```

**ruby\$1wrapper\$1bin **  <a name="attributes-recipes-passenger-ruby-wrapper"></a>
Ruby 래퍼 스크립트의 위치(문자열). 기본값은 `'/usr/local/bin/ruby_gc_wrapper.sh'`입니다.  

```
node[:passenger][:ruby_wrapper_bin]
```

**stat\$1throttle\$1rate **  <a name="attributes-recipes-passenger-throttle"></a>
Passenger가 파일 시스템 검사를 수행하는 속도(숫자). 기본값은 `5`이며, 이는 검사가 최대 5초마다 수행됨을 뜻합니다. 자세한 정보는 [PassengerStatThrottleRate](http://www.modrails.com/documentation/Users%20guide%20Apache.html#_passengerstatthrottlerate_lt_integer_gt)를 참조하세요.  

```
node[:passenger][:stat_throttle_rate]
```

**버전**  <a name="attributes-recipes-passenger-version"></a>
버전(문자열). 기본값은 `'3.0.9'`입니다.  

```
node[:passenger][:version]
```

# ruby 속성
<a name="attributes-recipes-ruby"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

**참고**  
이러한 속성은 Linux 스택에서만 사용할 수 있습니다.

[`ruby` 속성](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/ruby/attributes/ruby.rb)은 애플리케이션이 사용하는 Ruby 버전을 지정합니다. Ruby 2.1에서 의미 체계 버전 관리가 도입되면서 속성 사용이 바뀌었습니다. 예제를 포함한 버전 지정 방법에 대한 자세한 정보는 [Ruby 버전](workingcookbook-ruby.md)를 참조하세요. OpsWorks Stacks가 Ruby 버전을 결정하는 방법에 대한 자세한 내용은 기본 제공 속성 파일인 [ruby.rb](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/ruby/attributes/ruby.rb)를 참조하세요. 내장 속성을 재정의해 사용자 지정 값을 지정하는 방법에 대한 자세한 정보는 [속성 재정의](workingcookbook-attributes.md) 단원을 참조하십시오.

**full\$1version**  <a name="attributes-recipes-ruby-full"></a>
정품 버전 번호(문자열). 이 속성은 재정의해서는 안 됩니다. 그 대신 [[:opsworks][:ruby\$1version]](attributes-json-opsworks-other.md#attributes-json-opsworks-ruby-version)과 적절한 패치 버전 속성을 사용하여 버전을 지정하세요.  

```
[:ruby][:full_version]
```

**major\$1version**  <a name="attributes-recipes-ruby-major"></a>
메이저 버전 번호(문자열). 이 속성은 재정의해서는 안 됩니다. 그 대신 [[:opsworks][:ruby\$1version]](attributes-json-opsworks-other.md#attributes-json-opsworks-ruby-version)을 사용하여 메이저 버전을 지정하세요.  

```
[:ruby][:major_version]
```

**minor\$1version**  <a name="attributes-recipes-ruby-minor"></a>
마이너 버전 번호(문자열). 이 속성은 재정의해서는 안 됩니다. 그 대신 [[:opsworks][:ruby\$1version]](attributes-json-opsworks-other.md#attributes-json-opsworks-ruby-version)을 사용하여 마이너 버전을 지정하세요.  

```
[:ruby][:minor_version]
```

**패치**  <a name="attributes-recipes-ruby-patch"></a>
패치 수준(문자열). 이 속성은 Ruby 버전 2.0.0 및 이전 버전에 유효합니다. 이후의 Ruby 버전은 `patch_version` 속성을 사용합니다.  

```
[:ruby][:patch]
```
패치 번호는 `p`로 시작해야 합니다. 예를 들어 다음 사용자 지정 JSON을 사용하여 패치 수준 484를 지정합니다.  

```
{
  "ruby":{"patch":"p484"}
}
```

**patch\$1version**  <a name="attributes-recipes-ruby-patch-version"></a>
패치 번호(문자열). 이 속성은 Ruby 버전 2.1 및 이후 버전에 유효합니다. 그 이전의 Ruby 버전은 `patch` 속성을 사용합니다.  

```
[:ruby][:patch_version]
```

**pkgrelease**  <a name="attributes-recipes-ruby-pkgrelease"></a>
패키지 릴리스 번호(문자열).  

```
[:ruby][:pkgrelease]
```

# unicorn 속성
<a name="attributes-recipes-unicorn"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

**참고**  
이러한 속성은 Linux 스택에서만 사용할 수 있습니다.

[`unicorn` 속성](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/unicorn/attributes/default.rb)은 [Unicorn](http://unicorn.bogomips.org/) 구성을 지정합니다. 자세한 정보는 [Unicorn::Configurator](http://unicorn.bogomips.org/Unicorn/Configurator.html)를 참조하세요. 내장 속성을 재정의해 사용자 지정 값을 지정하는 방법에 대한 자세한 정보는 [속성 재정의](workingcookbook-attributes.md) 단원을 참조하세요.


****  

|  |  |  | 
| --- |--- |--- |
| [accept\$1filter](#attributes-recipes-unicorn-accept) | [backlog](#attributes-recipes-unicorn-backlog) | [delay](#attributes-recipes-unicorn-delay) | 
| [tcp\$1nodelay](#attributes-recipes-unicorn-nodelay) | [tcp\$1nopush](#attributes-recipes-unicorn-nopush) | [preload\$1app](#attributes-recipes-unicorn-preload) | 
| [제한 시간](#attributes-recipes-unicorn-timeout) | [tries](#attributes-recipes-unicorn-tries) | [버전](#attributes-recipes-unicorn-version) | 
| [worker\$1processes](#attributes-recipes-unicorn-worker) |  |  | 

**accept\$1filter**  <a name="attributes-recipes-unicorn-accept"></a>
accept 필터, `'httpready'` 또는 `'dataready'`(문자열). 기본값은 `'httpready'`입니다.  

```
node[:unicorn][:accept_filter]
```

**backlog**  <a name="attributes-recipes-unicorn-backlog"></a>
대기열이 보관할 수 있는 요청의 최대 수(숫자). 기본값은 `1024`입니다.  

```
node[:unicorn][:backlog]
```

**delay**  <a name="attributes-recipes-unicorn-delay"></a>
소켓 바인딩을 재시도하기 위해 기다릴 시간(초)(숫자). 기본값은 `0.5`입니다.  

```
node[:unicorn][:delay]
```

**preload\$1app**  <a name="attributes-recipes-unicorn-preload"></a>
worker 프로세스 포킹 전에 앱을 사전 로드할지 여부(부울). 기본값은 `true`입니다.  

```
node[:unicorn][:preload_app]
```

**tcp\$1nodelay**  <a name="attributes-recipes-unicorn-nodelay"></a>
TCP 소켓에 대한 Nagle의 알고리즘을 비활성화할지 여부(부울). 기본값은 `true`입니다.  

```
node[:unicorn][:tcp_nodelay]
```

**tcp\$1nopush**  <a name="attributes-recipes-unicorn-nopush"></a>
TCP\$1CORK를 활성화할지 여부(부울). 기본값은 `false`입니다.  

```
node[:unicorn][:tcp_nopush]
```

**제한 시간**  <a name="attributes-recipes-unicorn-timeout"></a>
각 요청마다 worker 사용이 허용되는 최대 시간(초)(숫자). 제한 시간 값을 초과하는 worker는 종료됩니다. 기본값은 `60`입니다.  

```
node[:unicorn][:timeout]
```

**tries**  <a name="attributes-recipes-unicorn-tries"></a>
소켓에 대한 바인딩을 재시도할 최대 횟수(숫자). 기본값은 `5`입니다.  

```
node[:unicorn][:tries]
```

**버전**  <a name="attributes-recipes-unicorn-version"></a>
Unicorn 버전(문자열). 기본값은 `'4.7.0'`입니다.  

```
node[:unicorn][:version]
```

**worker\$1processes**  <a name="attributes-recipes-unicorn-worker"></a>
worker 프로세스의 수(숫자). 기본값은 존재하는 경우, `max_pool_size`이고 그렇지 않은 경우에는 `4`입니다.  

```
node[:unicorn][:worker_processes]
```