Commit graph

19 commits

Author SHA1 Message Date
Adam Papai
547c0b404c
Add configuration for listen address
By default I leave it as "*", but for many cases, we don't want to bind our
apache to all network addresses available for the server. For example if we
want to only bind the apache to the localhost, we can use the following
configuration:

  apache_listen_ip: "127.0.0.1"
2016-04-20 11:46:12 +02:00
Andreas Wolf
097ddd2eb4 Only create vHosts if certificate exists 2016-01-18 17:25:08 +01:00
Solomon Gifford
906b1094d6 rename apache_global_settings to apache_global_vhost_settings to avoid confusion of where the globals are placed 2015-12-10 15:39:55 -05:00
Jeff Geerling
50d42a0a43 PR #56 follow-up: Change ordering and description of new variable. 2015-12-08 14:23:54 -06:00
Teun Ouwehand
53990ee997 Add global config variable 2015-12-08 21:03:13 +01:00
Gilad Peleg
5cee545c8f Make apache start optional at task end
- Closes #45
2015-09-24 18:33:10 +03:00
Jeff Geerling
8a4f5f3ff2 Fixes #27 and #42: Add example of multiline configuration in apache_vhosts entries. 2015-09-03 16:16:04 -05:00
Jeff Geerling
f98accbb08 PR #24: Clean up default vhost removal options and document the new var. 2015-07-23 12:04:31 -05:00
Jeff Geerling
2597e7380c Merge pull request #24 from ThijsFeryn/removedefaultvhost
PR #24: Allow default vhost file to be removed on Debian/Ubuntu.
2015-07-23 12:00:15 -05:00
Jeff Geerling
0424fbcd87 Issue #34: Add ability to 'disable' Apache mods on Ubuntu/Debian. 2015-05-31 16:01:27 -05:00
Thijs Feryn
8e71d656f4 Allowing the default vhost to be removed. Causes issues because it is linked to port 80, even if you change apache_listen_port 2015-01-28 13:54:09 +01:00
Jeff Geerling
17a99089ab Update documentation and fix a few variables for vhosts configuration. 2015-01-09 23:30:07 -06:00
Jeff Geerling
5d8bf8b6fd Merge pull request #23 from LewisW/master
Made "vhost.conf" filename configurable
2015-01-09 23:24:29 -06:00
Lewis Wright
5eeace69bb Made the vhost.conf filename configurable 2015-01-08 17:29:36 +00:00
Kevin ARBOUIN
c4b6fa8bb4 Add parameters ServerAlias 2014-12-29 21:56:03 +01:00
Jeff Geerling
8abd97bb32 Issue #17: SSL Support. 2014-11-05 10:07:20 -06:00
Jeff Geerling
d687bb21c5 Issue #14: Fix Apache version detection and related configuration for more flexibility. 2014-10-22 13:41:14 -05:00
Sebastian Schwarz
6820a17c92 Make apache_mods_enabled work.
The variable apache_mods_enabled was always overridden by
vars/Debian.yml.  It should be placed in defaults/main.yml
instead so the user's changes take effect as specied in the
README.

Also deleted superfluous files defaults/Debian.yml,
defaults/RedHat.yml and vars/main.yml.  The former two were
never read and the contents of the latter one should be placed
in defaults/main.yml.
2014-09-10 12:21:21 +02:00
Jeff Geerling
0318fedaf4 Update variables to allow easier overriding of vhosts. 2014-05-05 09:58:15 -05:00