Skip to content
Snippets Groups Projects
Commit 9126cdfe authored by Thomas Bellman's avatar Thomas Bellman
Browse files

named_vhost: Allow overriding auto-listen.

Having the named_vhost definition automatically configure Apache to
listen on the address/port pairs used by the virtual host, is usually
helpful.  There are occasions, however, when it will give unwanted
results, or even break things.  In particular, if you have overlaps,
with one virtual host handling a specific address, and one handling
the "wildcard" address (e.g. https://*/), you can't have Apache listen
to both INADDR_ANY and a specific address.  There may be other cases
where users want more control as well.

We here introduce a new parameter 'listen' on the apache::named_vhost
definition, which specifies addresses (URLs) that Apache httpd should
be configured to listen on.  If not specified, it defaults to using
the same set of addresses as specified by the 'urls' parameter, so in
many cases users won't need to specify it.
parent 070d2952
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment