Lyn
조회 수 2615 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

lastest nginx for ubuntu 14.04 compile with older version openssl then not support ALPN.

Unfortunately, chrome is not support http2+NPN, only support http2+ALPN. 

require recompile nginx with new version openssl

 

Original : https://alex.bouma.me/recompile-nginx-with-openssl-1-0-2-for-http-2-via-alpn-ubuntu-14-04/

 

# Install package building tools
sudo apt-get install -y dpkg-dev

# (optional) cleanup previous work directory
#sudo rm -R /opt/nginx

# Create a work directory
sudo mkdir /opt/nginx

# Switch to our work directory
cd /opt/nginx

# Get NGINX source files
sudo apt-get source nginx

# Install NIGNX build dependencies
sudo apt-get -y build-dep nginx

# Switch to the source files directory
# You might need to change the version number in your case
cd nginx-1.*

# Build the .deb package files
sudo dpkg-buildpackage -b

# Move back to out work directory where the .deb files are placed
cd /opt/nginx

# Stop NGINX
sudo service nginx stop

# Install the newly build .deb file
sudo dpkg --install nginx_1.*~trusty_amd64.deb

# Start NGINX
sudo service nginx start

?

List of Articles
번호 제목 글쓴이 날짜 조회 수
118 사이트에서 http2 프로토콜을 지원 하기 시작 했습니다. Lyn 2016.10.01 4604
117 [연속기획UD] 4. INIPay Plugin file Lyn 2016.09.08 2660
116 where check http/2 online Lyn 2016.09.07 2312
» how to rebuild ngnix with new version openssl Lyn 2016.09.07 2615
114 사이트에 SSL 인증서를 적용 했습니다... 적용 방법 Lyn 2016.09.07 2290
113 add "open as administrator" menu for gnome file explorer(nautilus) file Lyn 2016.06.25 4568
112 Visual C++ C4503 Warning Fix Lyn 2016.06.21 5011
111 New Calling Convention for AMD64(=EM64T, x64) and IA32(=x86) file Lyn 2016.04.17 5640
110 What is the calling convention of the C++ lambda file Lyn 2016.04.11 5629
109 Nuget error after Visual Studio 2015 Update 2 install file Lyn 2016.04.04 5681
108 Geforce 364.72 Vulkan Support file Lyn 2016.03.31 4298
107 [연속기획UD] 3. OpenVPN GUI Client file Lyn 2016.03.14 5041
106 How to Windows Disk Drive Performance Counter On Lyn 2016.03.12 3626
105 [연속기획UD] 2. NAVER Font Installer file Lyn 2016.03.06 4930
104 [연속기획UD] 1. Windows Service Manager file Lyn 2016.03.06 4600
103 [연속기획UD] 윈도우 Desktop Application 의 Unicode, High DPI 를 신경씁시다 Lyn 2016.03.06 4499
102 Windows 10 network priority change file Lyn 2016.02.16 3082
101 VMWare 12 + Windows 10 Bug file Lyn 2016.01.03 3442
100 C++11 Type Traits. 라이브러리가 프로그래머의 제어에서 벗어나다 1 file Lyn 2015.12.30 5110
99 Safe scanf 계열 함수의 함정. 자나깨나 크기조심 secret Lyn 2015.11.17 113
Board Pagination Prev 1 ... 2 3 4 5 6 7 ... 8 Next
/ 8