Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
frontend spdy
mode tcp
bind ssl crt /etc/haproxy/ssl.pem crt /etc/haproxy/certs.d npn spdy/3.1,http/1.1 ciphers AES256+EECDH:AES256+EDH:AES128+EDH:EECDH:!aNULL:!eNULL:!LOW:!DES:!3DES:!RC4; no-sslv3
option tcplog
log global
# route to nginx
use_backend nginx_spdy if { ssl_fc_npn -i spdy/3.1 }
default_backend nginx
backend nginx
mode tcp
server nginx01
backend nginx_spdy
mode tcp
server nginx02
server {
listen spdy;
server_name $host;
server_name_in_redirect on;
autoindex off;
add_header Strict-Transport-Security "max-age=31536000";
location / {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.