jetty: Disable HTTP port entirely?

270 views
Skip to first unread message

Linus Ericsson

unread,
Jun 17, 2016, 4:20:20 AM6/17/16
to pedestal-users
Hello,

is there any way to disable the http ServerConnector version of the jetty service, and only have the https-port open? The use case is a docker container packaged application which we simply do not want to have the option of HTTP at all. We have already put in a port which is not open to the outer world, but it still feels unnecessary to have unused ports open at all.

I'm sure we could disable the HTTP ServerConnector somehow on our side, but it feels to me that an option like ssl? but for http would be a useful configuration addition to the jetty driver.

Should I file an issue? Should I even get myself together and file a CA and provide a patch? :)

Thanks,
Linus

Paul deGrandis

unread,
Jun 17, 2016, 6:39:54 AM6/17/16
to pedestal-users
Hi Linus,

This request makes sense to me, especially if people start to move towards HTTPS+HTTP/2 setups.  A CA (which is electronic) and a patch is a great idea, but in the meantime, I've created a GitHub Issue!  I can squeeze this change into 0.5.1.

Thanks for always keeping me posted as your demands and ideas around Pedestal change!  It's extremely helpful.

Cheers,
Paul
Reply all
Reply to author
Forward
0 new messages