HTTP2 관련해서 티키타카를 하던 중이다.
먼저 확인:
sudo apachectl -M | grep http2정상이라면:
http2_module (shared)가 보여야 해.
시키는 대로 실행했다.
gerd@miniboxx:/etc/apache2$ sudo apachectl -M | grep http2 AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message http2_module (shared) proxy_http2_module (shared)
이걸 입력하니까 분석한 결과를 쭉 말해줬는데. 그 중에 다음과 같은 멘트가 있었다.
AH00558: apache2: Could not reliably determine the server’s fully qualified domain name
이건 성능 문제는 아니고 Apache 전역
ServerName이 없어서 뜨는 경고야.
그리고 바로 밑에 해결책을 제시해줬다. 그대로 따라했다.
/etc/apcahe2/conf-available/servername.conf 을 만들어서 다음을 넣었다.
ServerName gerd.kr
만들어 진 설정 파일을 활성화 하는 명령
sudo a2enconf servername
그리고 설정을 다시 읽어 들이게…
sudo sustemctl reload apache2
