# Nginx with SPDY + Django/Gunicorn

**URL:** <https://www.ruby-forum.com/t/nginx-with-spdy-django-gunicorn/225247>\
**Category:** NGINX\
**Created:** [December 23, 2012, 11:11pm UTC](https://www.ruby-forum.com/t/nginx-with-spdy-django-gunicorn/225247 "2012-12-23T23:11:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [December 23, 2012, 11:11pm UTC](https://www.ruby-forum.com/t/nginx-with-spdy-django-gunicorn/225247/1 "2012-12-23T23:11:34Z")

</div>

Hi

I’m trying to setup a test configuration of SPDY enabled Nxing with  
Django/Gunicorn on my localhost. My config looks like so:

> **[\#user nobody;worker\_processes 1;#error\_log logs/error.log;#error\_lo -...](https://pastebin.com/xiQsYDCT)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

SPDY is working when I use https and doesn’t when I enter localhost via  
http (no SSL). How can I make it working for non-ssl connection?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [December 23, 2012, 11:23pm UTC](https://www.ruby-forum.com/t/nginx-with-spdy-django-gunicorn/225247/2 "2012-12-23T23:23:51Z")

</div>

On Monday 24 December 2012 02:11:01 piotr maliński wrote:

> Hi
> 
> I’m trying to setup a test configuration of SPDY enabled Nxing with  
> Django/Gunicorn on my localhost. My config looks like so:  
> [#user nobody;worker\_processes 1;#error\_log logs/error.log;#error\_lo - Pastebin.com](http://pastebin.com/xiQsYDCT)
> 
> SPDY is working when I use https and doesn’t when I enter localhost via  
> http (no SSL). How can I make it working for non-ssl connection?

SPDY works only over TLS. That’s it.

Currently it makes no sense to enable SPDY over plain TCP, except for  
protocol  
debugging purposes.

wbr, Valentin V. Bartenev

–

> **[F5 NGINX: Built for cloud-native apps. Ready for AI traffic.](https://www.f5.com/products/nginx)**
>
> Deliver modern applications with NGINX. Explore high-performance load balancing, API gateways, and web server solutions trusted by top global enterprises.

> **[nginx: donation](http://nginx.org/en/donation.html)**
