nginx
-
Docker: alpine + nginx Image 만들기공부합시다!/Container 2023. 9. 11. 11:34
alpine 이용하여 간단하게 nginx image를 Dockerifle로 만들어 보겠습니다. 1. nginx.conf 파일 작성user nginx;worker_processes auto;error_log /var/log/nginx/error.log notice;pid /var/run/nginx/nginx.pid;events { worker_connections 1024;}http { include /etc/nginx/mime.types; default_type application/octet-stream; sendfile on; access_log /var/log/nginx/access.log; keepalive_timeout 3000;..
-
CentOS7: Nginx + Wordpress + PHP7.4 + MySQL5.7공부합시다!/LInux 2023. 6. 14. 11:53
apache 웹서버에 Nginx 구성은 이미 해 보았으니 이제는 Nginx 웹서버에 wordpress를 구성해 보도록 하겠습니다. 대부분 동일한 과정 입니다만 추가로 php-fpm 설치 및 구성 작업이 존재합니다. 1. 설치된 packages의 최종 버젼 확인 1.1. php7.4.33 1.2. nginx1.20.1 1.3. wordpress5.8.6 2. 필수 package 설치 2.1. wget: url을 이용한 파일 다운로드 2.2. yum-utils: yum-config-manager를 이용한 php7.4 enable 2.3. epel-release: redhat 공식 리포지토리 2.4. nginx: Web Server 2.5. 설치 명령어 # yum install -y wget yum-utils..
-
HA Proxy 멀티 포트를 활용한 다중 LoadBalancing공부합시다!/Container 2022. 12. 8. 17:16
HA Proxy는 의외로 그 쓰임새가 다양합니다. - 자료 찾아보셔요! 오늘은 HA Proxy의 멀티 포트기능을 활용하여 두 개의 각기 다른 웹사이트를 LoadBalancing 합니다. 1. 전체 구성도 2. HA Proxy FrontEnd 설정 3. HA Proxy BackEnd 설정 4. Firewall 설정 5. Container 구성 6. Test 이렇게 Test가 완료 되시면 훌륭하게 완성된 LoadBalancer 입니다. Have a nice day!