Commit Graph

16 Commits

Author SHA1 Message Date
Frederik Wille
3063875875 add official nginx ppa for ubuntu
adds ppa:nginx to apt repositories when
nginx_use_ppa is set to yes (default no)

nginx_ppa_version can be either "stable" or "development"

this will reinstall nginx if ppa was just added to ensure that the ppa
version will be installed
2016-02-09 10:06:08 +01:00
Aleksandr Vinokurov
5294d77fa3 Remove new config validation, Fix #41
NOTE: current nginx config validation process breaks SELinux context
for pid file, as described in #41

Restart of nginx is not needed for configuration changes and is
replaced with reload, which will validate config before applying it,
leaving running nginx process untouched in case of any validation
errors.

Restart handler left in support.
2016-01-22 12:56:30 +03:00
Jeff Geerling
9848800982 PR #36 follow-up: clean up and reformat docs. 2015-12-28 09:57:11 -06:00
cmacrae
a248416a4d Ensuring all instances that notify 'restart nginx' also validate first 2015-12-22 16:55:29 +00:00
cmacrae
fe55597334 Correcting indentation for 'validate' param 2015-12-22 16:18:44 +00:00
cmacrae
cc5114dc4f Re-order template deploy & add validate:
Re-ordering the tasks in this way (having the vhosts deployed first)
allows the 'validate' param to collectively check the deployed Nginx config.

Deploying vhosts after makes it hard to check their validity, as Nginx's
config checking will operate on a "master" configuration that includes
others (checking those included, also) but would error out when checking
these individual configs if they do not contain a fully working Nginx
config (which they often don't, due to their nature).
2015-12-22 16:05:28 +00:00
Jeff Geerling
7360d9cb0b Major vhosts cleanup in preparation for issue #11. 2015-02-20 23:34:31 -06:00
Jeff Geerling
66922e9951 Fixes #10: Better organize os-specific tasks. 2015-02-20 23:15:01 -06:00
Jeff Geerling
df35be0665 Fixes #9: Use major distro version for Nginx repo on RedHat. 2015-01-23 11:07:30 -06:00
Jeff Geerling
fabb2ecbc0 Code style cleanup. 2015-01-23 10:57:06 -06:00
Jeff Geerling
fdc9a7da78 Issue #6 and PR #8: Make nginx user more flexible. 2015-01-02 11:47:26 -06:00
Jeff Geerling
736a95a012 Add option to remove default nginx vhost config. 2014-08-21 15:41:31 -05:00
Jeff Geerling
45713939ee Cleanup - This nginx role now works across RedHat and Debian. 2014-08-03 21:24:54 -05:00
Richard
9b91816d3f added support for Debian based os 2014-07-30 21:09:00 +02:00
Jeff Geerling
222479109f Update Nginx role to be more customizable. 2014-05-02 22:18:10 -05:00
Jeff Geerling
d9aebe7dee Initial commit. 2014-03-07 08:51:16 -06:00