Questions tagged [jetty]

Jetty is a widely used async java based http server and servlet engine supporting WebSockets and SPDY protocols.

Filter by
Sorted by
Tagged with
95 votes
6 answers
480k views

Proxy Error 502 "Reason: Error reading from remote server" with Apache 2.2.3 (Debian) mod_proxy and Jetty 6.1.18

Apache is receiving requests at port :80 and proxying them to Jetty at port :8080 The proxy server received an invalid response from an upstream server The proxy server could not handle the request ...
user avatar
13 votes
4 answers
26k views

How to have Jetty redirect http to https

I want to redirect all requests for http to https using Jetty (6.1.24). For some reason (my ignorance) this is eluding me. This is what I have: <New id="redirect" class="org.mortbay.jetty.handler....
Noel Kennedy's user avatar
9 votes
2 answers
18k views

Apache ProxyPass ignore static files

Having an issue with Apache front server connecting to a Jetty application server. I thought that ProxyPass ! in a location block was supposed to NOT pass on processing to the application server, but ...
virtualeyes's user avatar
8 votes
2 answers
6k views

How can I make Nginx return HTTP 503 when my proxied app server is down?

I have an nginx web server sitting in front of a Jetty Java app server running a web application. I'd like to configure nginx to return a HTTP 503 if the proxied Jetty server is down. This way when ...
Richard Nichols's user avatar
3 votes
2 answers
7k views

Securing Apache Solr in production

I am setting up Apache Solr 4.1 that will be used to index data for a web app. Only the web app should have access to the Solr. Users and other clients will not talk directly to Solr. What are some ...
Saqib Ali's user avatar
  • 438
2 votes
1 answer
2k views

Jetty 9 - redirect http to https

I'd like to force use of https in Jetty 9. Apparently: <Set name="confidentialPort">443</Set> no longer works in jetty 9. How should I do it properly?
jimmy's user avatar
  • 21
1 vote
1 answer
6k views

https reverse proxy on http jetty

I have a jetty application on http. My web hosting runs a reverse proxy on apache on https, which proxies to my jetty application (http). browsing the first page (https://example.com/index.html) ...
David Portabella's user avatar