# How can nginx reverse proxy google app engine via SPDY?

**URL:** <https://www.ruby-forum.com/t/how-can-nginx-reverse-proxy-google-app-engine-via-spdy/227069>\
**Category:** NGINX\
**Created:** [March 3, 2013, 6:46am UTC](https://www.ruby-forum.com/t/how-can-nginx-reverse-proxy-google-app-engine-via-spdy/227069 "2013-03-03T06:46:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SSS\_SS\_SS\_SSS\_SSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@SSS\_SS\_SS\_SSS\_SSS](https://www.ruby-forum.com/u/SSS_SS_SS_SSS_SSS)\
**Post date:** [March 3, 2013, 6:46am UTC](https://www.ruby-forum.com/t/how-can-nginx-reverse-proxy-google-app-engine-via-spdy/227069/1 "2013-03-03T06:46:42Z")

</div>

In China , government block google app engine by GFW

So , I use a nginx reverse proxy (proxy\_pass) to google app engine via  
https

My Site need https to keep security , so I want to know can I let nginx  
proxy a https google app engine website via SPDY?

---

<div class="post-metadata">

**Author:** ![SSS\_SS\_SS\_SSS\_SSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@SSS\_SS\_SS\_SSS\_SSS](https://www.ruby-forum.com/u/SSS_SS_SS_SSS_SSS)\
**Post date:** [March 3, 2013, 7:19am UTC](https://www.ruby-forum.com/t/how-can-nginx-reverse-proxy-google-app-engine-via-spdy/227069/2 "2013-03-03T07:19:25Z")

</div>

My answer would not be ‘Google is your friend’ but the even better: RTFM  
:oP

## [GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com · GitHub](http://wiki.nginx.org/HttpProxyModule#proxy_pass)

_B. R._

---

<div class="post-metadata">

**Author:** ![SSS\_SS\_SS\_SSS\_SSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@SSS\_SS\_SS\_SSS\_SSS](https://www.ruby-forum.com/u/SSS_SS_SS_SSS_SSS)\
**Post date:** [March 3, 2013, 7:59am UTC](https://www.ruby-forum.com/t/how-can-nginx-reverse-proxy-google-app-engine-via-spdy/227069/3 "2013-03-03T07:59:08Z")

</div>

I write this and it success proxyed , but I want to let the proxy use  
SPDY  
there is no how to use SPDY in revese proxy in the document

server{  
listen 443;  
server\_name [42btc.com](http://42btc.com);

```
ssl on;
ssl_certificate /etc/ssl/certs/42btc.crt;
ssl_certificate_key /etc/ssl/private/42btc.key;
#enables SSLv3/TLSv1, but not SSLv2 which is weak and should no 

```

longer  
be used.  
ssl\_protocols SSLv3 TLSv1;  
#Disables all weak ciphers  
ssl\_ciphers ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM;

```
location / {

    proxy_set_header HOST xxx.appspot.com 

```

[http://42btc-com.appspot.com](http://42btc-com.appspot.com)  
;

```
    proxy_set_header REMOTE-HOST $remote_addr;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    proxy_pass https://173.194.72.141;
}

```

}

server {  
listen 80;  
server\_name [www.42btc.com](http://www.42btc.com) [42btc.com](http://42btc.com) _.42btc.com;  
charset utf-8;  
rewrite ^(._)$ [https://42btc.com$1](https://42btc.com$1) permanent;  
}

---

<div class="post-metadata">

**Author:** ![SSS\_SS\_SS\_SSS\_SSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@SSS\_SS\_SS\_SSS\_SSS](https://www.ruby-forum.com/u/SSS_SS_SS_SSS_SSS)\
**Post date:** [March 3, 2013, 9:09am UTC](https://www.ruby-forum.com/t/how-can-nginx-reverse-proxy-google-app-engine-via-spdy/227069/4 "2013-03-03T09:09:13Z")

</div>

On Mar 3, 2013, at 10:58 AM, 张沈鹏 wrote:

> I write this and it success proxyed , but I want to let the proxy use SPDY  
> there is no how to use SPDY in revese proxy in the document

There’s not SPDY for upstream servers in nginx at this time, so you  
can’t.
