Lyn
조회 수 2173 추천 수 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
번호 제목 글쓴이 날짜 조회 수
117 [연속기획UD] 4. INIPay Plugin file Lyn 2016.09.08 2341
116 where check http/2 online Lyn 2016.09.07 2074
» how to rebuild ngnix with new version openssl Lyn 2016.09.07 2173
114 사이트에 SSL 인증서를 적용 했습니다... 적용 방법 Lyn 2016.09.07 2063
113 add "open as administrator" menu for gnome file explorer(nautilus) file Lyn 2016.06.25 4364
112 Visual C++ C4503 Warning Fix Lyn 2016.06.21 4749
111 New Calling Convention for AMD64(=EM64T, x64) and IA32(=x86) file Lyn 2016.04.17 5413
110 What is the calling convention of the C++ lambda file Lyn 2016.04.11 5348
109 Nuget error after Visual Studio 2015 Update 2 install file Lyn 2016.04.04 5419
108 Geforce 364.72 Vulkan Support file Lyn 2016.03.31 4063
107 [연속기획UD] 3. OpenVPN GUI Client file Lyn 2016.03.14 4761
106 How to Windows Disk Drive Performance Counter On Lyn 2016.03.12 3251
105 [연속기획UD] 2. NAVER Font Installer file Lyn 2016.03.06 4675
104 [연속기획UD] 1. Windows Service Manager file Lyn 2016.03.06 4332
103 [연속기획UD] 윈도우 Desktop Application 의 Unicode, High DPI 를 신경씁시다 Lyn 2016.03.06 4295
102 Windows 10 network priority change file Lyn 2016.02.16 2813
101 VMWare 12 + Windows 10 Bug file Lyn 2016.01.03 3180
100 C++11 Type Traits. 라이브러리가 프로그래머의 제어에서 벗어나다 1 file Lyn 2015.12.30 4606
99 Safe scanf 계열 함수의 함정. 자나깨나 크기조심 secret Lyn 2015.11.17 113
98 OpenVPN이 2.3.8 으로 업데이트 되면서 이것저것 바뀌었는데... 1 Lyn 2015.09.08 2610
Board Pagination Prev 1 ... 2 3 4 5 6 7 ... 8 Next
/ 8