[ Server ][ Linux ] varnish 설치 / 오류 / 유의사항 - ssl인증서 설치 오류 / 유의사항 > linux

본문 바로가기

사이트 내 전체검색

linux

[ Server ][ Linux ] varnish 설치 / 오류 / 유의사항 - ssl인증서 설치 오류 / 유의사항

작성일 19-02-07 14:37

페이지 정보

작성자 웹지기 조회 11,503회 댓글 0건

본문

@Install varnish on CentOS

# yum -y install varnish


@varnish start & enable

# systemctl start varnish

# systemctl enable varnish


@Configure Apache on port 8080

# sed -i 's/Listen 80/Listen 8080/' /etc/httpd/conf/httpd.conf

# sed -i 's/ServerName localhost:80/ServerName localhost:8080/' /etc/httpd/conf/httpd.conf

# sed -i 's/*:80/*:8080/' /etc/httpd/conf.d/default.conf

# sed -i 's/*:80/*:8080/' /root/APM/adduser.sh  ==> AAI 정식버젼 : sed -i 's/*:80/*:8080/' /root/AAI/adduser.sh

# sed -i 's/VARNISH_LISTEN_PORT=6081/VARNISH_LISTEN_PORT=80/' /etc/varnish/varnish.params


@Apache & varnish restart

# systemctl restart httpd

# systemctl restart varnish

 

varnish설치시 80포트를 888포트로 설치 이후 ssl 설치오류 발생.

# certbot --apache -d aaa.com -d www.aaa.com 부분의 오류

# certbot --apache --http-01-port 888 -d aaa.com -d www.aaa.com 으로 

포트를 입력한 후 정상적인 도메인에 대한 ssl 보안이 가능해짐.

[이 게시물은 웹지기님에 의해 2019-03-15 15:32:33 knowledge에서 이동 됨]

추천0

비추천 0

댓글목록

등록된 댓글이 없습니다.

전체 103건 1 페이지

이미지 목록

게시물 검색
Copyright © 즐거운 코딩 생활 ( funyphp ). All rights reserved.
PC 버전으로 보기