Welcome! Log In Create A New Profile

Advanced

Re: How can nginx reverse proxy google app engine via SPDY?

March 03, 2013 03:10AM
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.

> server{
> listen 443;
> server_name 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;
>
> 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 42btc.com *.42btc.com;
> charset utf-8;
> rewrite ^(.*)$ https://42btc.com$1 permanent;
> }
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How can nginx reverse proxy google app engine via SPDY?

张沈鹏 March 03, 2013 12:48AM

Re: How can nginx reverse proxy google app engine via SPDY?

B.R. March 03, 2013 01:20AM

Re: How can nginx reverse proxy google app engine via SPDY?

张沈鹏 March 03, 2013 02:00AM

Re: How can nginx reverse proxy google app engine via SPDY?

nginxorg March 03, 2013 03:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 129
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready