Headers-More

NGINX Plus에서 지원하는 Headers-More 동적 모듈을 사용하여 NGINX 코어 헤더 모듈을 확장하기 위해 입력 및 출력 헤더를 설정하고 지웁니다.

목차

1. 설치 지침
2. 추가 정보

1. 설치 지침

1. Headers-More 모듈 설치

Amazon Linux, CentOS, Oracle Linux 및 RHEL의 경우:

$ yum install nginx-plus-module-headers-more

Debian 및 Ubuntu의 경우:

$ apt-get install nginx-plus-module-headers-more

SLES의 경우:

$ zypper install nginx-plus-module-headers-more

Alpine의 경우:

$ apk add nginx-plus-module-headers-more

2. NGINX Plus 구성 파일 nginx.conf의 최상위(“main”) context에 load_module 지시문을 넣습니다.

load_module modules/ngx_http_headers_more_filter_module.so;

3. 모듈에서 요구하는 대로 추가 구성을 수행합니다.

4. 모듈을 활성화하려면 NGINX Plus를 다시 로드하십시오.

$ nginx -t && nginx -s reload

2. 추가 정보