On Tue, Apr 3, 2012 at 4:00 PM, Mark Rathwell <[email protected]> wrote:
> Jeff,
>
> Quick question about CF, since you are somewhat familiar.  I currently
> use nginx on an EC2 instance to handle SSL on a custom domain.  Also,
> though, this setup allows me to do things like:
>
> redirect all naked domain requests to www
> redirect all http requests to https

This is easy.

> reverse proxy www.example.com  -> app1.appspot.com
> reverse proxy other.example.com -> app2.appspot.com

Effectively yes, although it's not what you describe here.  You just
set up www.example.com in CF's dashboard as normal - a CNAME to
ghs.google.com.  You can then flip a switch back and forth to enable
or disable the reverse proxy; when on, traffic will route through CF,
when off, traffic will route directly to ghs.google.com.

Note that ghs.google.com and xyz.appspot.com do NOT resolve to the
same ip addresses and have very different behavior.  ghs.google.com
will respond to the Host: header for www.example.com.  xyz.appspot.com
will only respond to Host: headers for xyz.appspot.com.

The reason SSL on your own domain from CF to xyz.appspot.com doesn't
work is because CF would need to override the Host header and replace
www.example.com with xyz.appspot.com.  I know they had this
implemented at one point but then they removed it for reasons that are
not clear to me.  I've asked John Roberts about it, maybe this feature
can be revived.

> reverse proxy api.example.com    -> app1.appspot.com/api

This does not appear to be allowed.  The url forwarding Page Rules all
issue 301 redirects, you can't transparently forward to a different
uri path.

> Is this stuff all possible (and straightforward) with CloudFlare?  And
> is it simple to manage multiple domains from one account?

The interface is pleasant to use.  You can have lots of domains,
although we are only using CF with one.  I don't know how it would be
if you're talking hundreds  or thousands where you need batch
operations (ie, some sort of domain soup for managing parking pages).

Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to