• 설치 Flow
    • NGINX Plus 인증서 업로드
    • OS Repository 구성
    • Nginx Plus + NAP 설치
    • Nginx Config 기본 구성

  • NGINX REPO 인증서 업로드
  • OS YUM Package 설치
sudo amazon-linux-extras enable epel selinux-ng
sudo yum clean metadata
sudo yum install ca-certificates epel-release wget
  • OS Repository 구성
sudo wget -P /etc/yum.repos.d <https://cs.nginx.com/static/files/nginx-plus-7.4.repo> <https://cs.nginx.com/static/files/nginx-plus-7.4.repo>
sudo wget -P /etc/yum.repos.d <https://cs.nginx.com/static/files/app-protect-7.repo> <https://cs.nginx.com/static/files/app-protect-7.repo>
  • NAP 설치
sudo yum install app-protect
  • NGINX Config 설정 변경
    • App Protect Enable 필요
* nginx.conf - Main Context
    load_module modules/ngx_http_app_protect_module.so;
*  HTTP / Server / Location Context
    - app_protect_enable on;