Bug#775176: please don't open tcp/80 by default
On Mon, 12 Jan 2015, Harald Dunkel wrote:
> Actually I don't see any reason why apache2 should unconditionally
> listen on 80/tcp for a https-only setup, so I wonder if ports.conf
> could be moved to conf.d to support a2disconf?
As ports.conf does not contain anything else, editing it should not cause
much hassle with updates. Therefore I don't see that this is necessary.
> Another option would be to move the Listen statements to
> the appropriate virtual host definitions, making ports.conf
> obsolete.
Having the Listen statments in the virtual host files causes problems with
name based virtual hosts, so I don't think that would be a good idea.
>
> Please mail if I could provide patches for this, or is it too
> late for Jessie?
It's definitely too late for jessie. I will leave the bug open and
consider it again after jessie release.
Reply to: