Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Minimalistic SPDY proxy setup using Jetty 9.0.0

Hi Arjan,

you've seen the example configuration for a SPDY to HTTP proxy in the documentation?

It's described here:
http://www.eclipse.org/jetty/documentation/current/spdy-configuring-proxy.html#spdy-to-http-example-config

Regarding your steps:

2. I usually put the npn file in $JETTY_HOME, but that's just my personal preference.
3. Comment out jetty-http.xml to disable the HTTP coonector you don't need.
4. That depends on what you want to achieve. Read the documentation: http://www.eclipse.org/jetty/documentation/current/spdy-configuring-proxy.html#spdy-example-config
and try to apply the settings according to your setup.
5. You need to include the npn jar in the classpath like so: -Xbootclasspath/p:$JETTY_HOME/npn-boot-1.1.2.v20130305.jar Make sure to change the path to npn-boot if you don't have it in $JETTY_HOME.

Cheers,
Thomas
Am 3/10/13 10:49 PM, schrieb Arjan Peddemors:
Hi all,
I'm kind of lost setting up a simple Jetty SPDY proxy configuration on
my Ubuntu 12.04 machine with OpenJDK 7. I have read the SPDY
documentation, but can't seem to get it going.

Say I have a regular (backend) web server running on the same machine,
listening for incoming HTTP request on port 7070. I want to setup the
proxy as a frontend such that HTTP over SPDY/3 requests are forwarded to
localhost:7070. Given the new Jetty 9.0.0 distribution, what would be
the *concrete* steps to set this up as simple as possible?

I would say these are the steps, but what about step 3 and 4?
1- Unpack the distribution; cd into it
2- Download npn-boot-1.1.2.v20130305.jar from repo1.maven.org
<http://repo1.maven.org>, and copy to the lib directory
3- Change the start.ini file: exactly what changes for a minimalistic setup?
4- Change the etc/jetty-spdy-proxy.xml file: exactly what changes?
Self-signed certificate is ok.
5- Run it with: java -jar start.jar

Thx,
Arjan



_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users




Back to the top