WEB(17)
-
nginx ssl 설정
# 테스트 환경OS : Oracle Linux Server release 8.6JDK : 1.8nginx ver. : 1.14.1 1. openssl을 이용한 인증서 생성① ssl 디렉터리에 root key 생성openssl genrsa -aes256 -out root.key 4096root key password : ... ② root.csr 생성openssl req -new -key root.key -sha256 -out root.csrEnter pass phrase for root.key: ... ③ root.crt 생성 및 설치openssl x509 -req -days 3653 -extensions v3_ca -set_serial 1 -in root.csr -signkey root.key -sha..
2024.07.29 -
nginx.conf (2)
nginx.conf (1) 글에 이어서 작성 - block directivehttp { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; tcp_nopush on; tcp_nodelay on; keepaliv..
2024.07.29 -
nginx.conf (1)
# nginx.conf텍스트 기반의 구성 파일로 해당 파일 내부에 설정된 값들을 통해 nginx가 튜닝되고 실행되게 됨 https://docs.nginx.com/nginx/admin-guide/basic-functionality/managing-configuration-files/ Creating NGINX Plus and NGINX Configuration Files | NGINX DocumentationCreating NGINX Plus and NGINX Configuration Files Understand the basic elements in an NGINX or NGINX Plus configuration file, including directives and contexts. NGINX an..
2024.07.26 -
nginx 설치
# nginx 설치사전에 빌드된 패키지는 CentOS, Debian, Red Hat Enterprise Linux, SUSE Linux Enterprise, Ubuntu, Oracle Linux 등 범용적으로 사용되는 Linux 배포판에서 사용 가능 - Linux 배포판 및 버전에 따른 nginx 패키지 지원 목록https://nginx.org/en/linux_packages.html?_ga=2.163484990.349406503.1721281403-238946016.1716873354 테스트 환경인 Oracle Linux 환경에 맞는 설치 과정을 진행 1. OS 저장소에 빌드된 패키지를 통해 nginx 설치하기- EPEL 저장소 설치yum install epel-release - 저장소 업데이트yum..
2024.07.25 -
Error Page 세팅
# 테스트 환경OS : Oracle Linux Server release 8.6JDK : 1.8WebLogic ver. : 12cR2OHS : 12cR2# OHS 설정을 통한 Error Page 세팅1. httpd.conf의 ErrorDocument 사용httpd.conf 에 설정을 하게 되면 해당 component에 전역 설정으로 적용 가능 기본적으로 ErrorDocument를 사용하기 위해서는 해당 ErrorPage가 DocumentRoot 디렉토리 안에 속해 있어야 함 - Text 직접 타이밍 방식ErrorDocument에 404 Error Page 설정을 직접 타이핑 형식으로 작성 - Local Redirect 방식DocumentRoot 경로에 ErrorPage가 속해 있다면 해당 Erro..
2024.07.16