Implement nginx spdy support
This commit is contained in:
1 parent
dfac47cbe2
commit
22c25dc40a
1 file changed
+4
-2
@@ -37,11 +37,13 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl spdy;
|
||||||
listen 443 ssl;
|
listen 443 ssl spdy;
|
||||||
server_name $hostname;
|
server_name $hostname;
|
||||||
$SSL_DIRECTIVES
|
$SSL_DIRECTIVES
|
||||||
|
|
||||||
keepalive_timeout 70;
|
keepalive_timeout 70;
|
||||||
|
add_header Alternate-Protocol 443:npn-spdy/2;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$APP;
|
proxy_pass http://$APP;
|
||||||
|
|||||||
Reference in new issue
Block a user