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

본문 바로가기
사이트 내 전체검색

linux

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

작성자 웹지기
작성일 19-02-07 14:37 | 조회 18,137 | 댓글 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

댓글목록 0

등록된 댓글이 없습니다.

linux 목록

Total 103
게시물 검색

회원로그인

접속자집계

오늘
33,470
어제
33,663
최대
61,067
전체
18,064,460

그누보드5
Copyright © funyphp.com. All rights reserved.