Commit Graph

149 Commits (37bcd5c7bc9f7c8df848dc7fec5a8a80c153afbc)

Author SHA1 Message Date
Emilien Mantel 332e28a9d7 YAML cleaning 2017-10-26 15:47:30 +02:00
Emilien Mantel 463ce45105 New PHP management
- New versions (7.x)
- PHP upstream name
- Sites can use : default PHP version, select first one by PHP version,
  select by upstream name
- Add PHP filter plugin
2017-10-26 11:04:38 +02:00
Emilien Mantel de40c07ac5 Better readability 2017-10-03 17:57:35 +02:00
Emilien Mantel 54dd1ef3c0 Remove legacy code 2017-10-03 17:38:06 +02:00
Emilien Mantel b72263f7e5 Fix failures on travis 2017-07-27 14:56:43 +02:00
Emilien Mantel e83395271d Fix tests for Debian Stretch
- nagios is not available
- curl can use HTTP2 (headers are lowercase)
- bypass tests when htpasswd is empty (bypass issue #28)
2017-07-27 14:25:22 +02:00
Emilien Mantel 4486bddb19 Add blank lines, spaces... (readability) 2017-06-14 18:00:30 +02:00
Emilien Mantel 0b99a1c28e Remove ansible 2.3 warnings - fixes #29 2017-06-14 17:54:48 +02:00
Emilien Mantel eb0bdcad6f Travis major changes:
- Use Vagrant + Docker
- Test multiple Ansible versions
2017-06-06 14:15:03 +02:00
Emilien Mantel cbdfc741ba Renaming variables *vhost* -> *site*
Vhost is an Apache configuration, not Nginx.
Manages backward compatibility.
2017-04-25 12:27:08 +02:00
Emilien Mantel a60e81cc1f fix redirect https : show port only if not 443 2017-04-13 15:16:53 +02:00
Emilien Mantel f1af8991fd Bug fix : redirect https with many names
On a multiple name vhost with redirect_https, redirection is done with
the origin name not the main name.
2017-04-13 14:21:14 +02:00
Emilien Mantel ae167d3317 Disabling htpasswd by setting false 2017-03-08 11:10:14 +01:00
Emilien Mantel 38a8354754 Bind proxy_protocol on port 2017-01-03 12:07:31 +01:00
Emilien Mantel 1b06fe273f Add html file to test-ssl-proxy-protocol.local 2017-01-03 11:32:45 +01:00
Emilien Mantel 684c794566 Manage proxy protocol 2017-01-03 11:16:28 +01:00
Emilien Mantel 875c7cfb2e Async task: generate dh 2016-12-07 07:48:32 +01:00
Emilien Mantel 8caddedc68 Deploy custom facts with nginx_vhosts 2016-11-29 14:32:27 +01:00
Emilien Mantel 8ccc9f521f Secure files permission 2016-11-25 11:33:20 +01:00
Emilien Mantel 5b0977567c New feature: provide location order (#24 related) 2016-11-23 11:44:04 +01:00
Emilien Mantel 40f67fc103 Vhost ssl_name name is now optionnal 2016-11-07 17:22:14 +01:00
Emilien Mantel 60a368f3e1 Manage many configurations 2016-10-13 11:11:07 +02:00
Emilien Mantel 42bb4a3e2b Dynamic module management (closes #23) 2016-10-12 18:13:59 +02:00
Emilien Mantel c4ee6eb1a2 vhost.filename used by log and directories creation 2016-10-07 10:50:05 +02:00
Emilien Mantel 34c8d1926f Vhost state (closes #19) 2016-08-30 11:06:38 +02:00
Emilien Mantel 3ab8e0391c Disable tests for owncloud (fix later) 2016-08-25 18:19:07 +02:00
Emilien Mantel 88c6c5a043 Manages PHP minor versions 2016-08-11 11:30:26 +02:00
Emilien Mantel b17acac4c4 Tests packages on Debian 2016-08-11 10:48:12 +02:00
Emilien Mantel 76c02abf47 Fix owncloud js (from php) and add tests 2016-08-11 09:38:09 +02:00
Emilien Mantel 26c93c9315 Add owncloud and prevent nginx from dotdeb 2016-08-10 21:29:03 +02:00
Emilien Mantel 8fb3829860 Drop Wheezy support in IC 2016-08-09 16:12:54 +02:00
Emilien Mantel e4b5bb2a32 Support many php versions (php7) + drop wheezy support 2016-08-09 16:02:09 +02:00
Emilien Mantel af3930a58a New feature: upstream state (remove upstream if needed) 2016-05-11 17:21:52 +02:00
Emilien Mantel 4dcb5f44c6 Don't need any inventory file for tests 2016-03-23 17:27:59 +01:00
Emilien Mantel 9b19231d8b use headers instead of more 2016-03-15 17:15:46 +01:00
Emilien Mantel 96e406c791 always directive managed for add_header option 2016-03-15 15:30:22 +01:00
Emilien Mantel ee79ec9845 SSL helper can be disabled 2016-03-15 12:16:57 +01:00
Emilien Mantel 2ba906be2e Add custom headers in vhost (moved from ssl helpers) 2016-03-15 10:51:14 +01:00
Emilien Mantel 97aeda5678 New feature: redirect_https (HTTP -> HTTPS) 2016-03-14 19:20:08 +01:00
Emilien Mantel 3666b29184 nghttp2 only on Debian Jessie+ 2016-03-09 15:03:41 +01:00
Emilien Mantel 2cfda9a930 Fix check HTTP2 on FreeBSD (multi-OS code) 2016-03-08 19:37:39 +01:00
Emilien Mantel cdc152afbe Nagios OK on FreeBSD 2016-03-05 18:34:04 +01:00
Emilien Mantel 729b621ccb Fix check htpasswd in location (replace echo test) 2016-03-05 17:31:21 +01:00
Emilien Mantel c13cb0d770 PHP works on FreeBSD 2016-03-05 17:26:05 +01:00
Emilien Mantel 8edd69547d [WIP] split pre/post tasks related to OS version 2016-03-05 15:46:54 +01:00
Emilien Mantel 791832f6d1 Config seems ok 2016-03-05 15:36:25 +01:00
Emilien Mantel e00313bb36 [WIP] FreeBSD install ok 2016-03-05 15:07:39 +01:00
Emilien Mantel fe68e17663 Logging must be set to false to be disabled 2016-03-05 12:00:07 +01:00
Emilien Mantel 1071881ac2 Merge branch 'master' of https://github.com/HanXHX/ansible-nginx
Conflicts:
	tasks/vhost.yml
2016-03-05 11:39:29 +01:00
Emilien Mantel e139ab3e35 Fix deprecation warnings 2016-03-05 11:37:37 +01:00
Emilien Mantel 1f82e7adfe Add HTTP2 check 2016-03-05 11:30:48 +01:00
Emilien Mantel 781008dfff Each vhost can have his own filename 2016-03-04 16:38:40 +01:00
Emilien Mantel 3231e58bc0 Test stub status on default http vhost 2016-02-09 16:57:13 +01:00
Emilien Mantel 863dc6ca76 In tests, dh = 1024bits (speedup tests) 2016-01-22 10:06:35 +01:00
Emilien Mantel 7f56db76e0 Simplify proxy template 2016-01-22 09:36:52 +01:00
Emilien Mantel 51a1105dff Check PHP (should fix travis) 2016-01-21 17:54:24 +01:00
Emilien Mantel 520eed50c3 Manage default vhost. Closes #11 2016-01-21 17:08:01 +01:00
Emilien Mantel c36c4824b7 Cleanup tests 2016-01-21 15:34:18 +01:00
Emilien Mantel c357658c25 Fix Nagios vhost and better tests 2016-01-21 15:16:21 +01:00
Emilien Mantel be349ec686 new vhost: nagios3 (without css) 2016-01-15 15:48:18 +01:00
Emilien Mantel 11c98ab145 SSL with existing keys 2016-01-12 17:26:30 +01:00
Emilien Mantel 49f11751e6 Refactoring + SSL support 2016-01-11 18:20:42 +01:00
Emilien Mantel f64e1f1106 New feature: install nginx from backports 2016-01-11 15:18:21 +01:00
Emilien Mantel d463b690ec Force start backuppc 2015-12-23 22:37:37 +01:00
Emilien Mantel 7c9c7ab474 Try fix travis with fcgiwrap (down?) 2015-12-23 18:03:17 +01:00
Emilien Mantel c703a4fba8 Support BackupPC 2015-12-23 17:39:06 +01:00
Emilien Mantel e0bb5e2752 Add feature: new custom instructions 2015-12-09 17:06:59 +01:00
Emilien Mantel f9127f9a40 Manage auth basic on all vhost 2015-12-03 17:09:29 +01:00
Emilien Mantel c0f2d694e7 Meilleure gestion des dossiers et htpasswd par location 2015-12-03 16:32:08 +01:00
Emilien Mantel 80e3cae22e New feature on vhosts: "redirect_to" 2015-12-01 15:46:57 +01:00
Emilien Mantel 1d56fc249d Deleted vhost don't need a template 2015-11-30 12:16:17 +01:00
Emilien Mantel 6be44c7da8 Many minor changes 2015-11-03 14:45:01 +01:00
Emilien Mantel f57ab08594 location / can be overwrited 2015-11-03 14:31:50 +01:00
Emilien Mantel d26a6f26f5 shell module is not necessary 2015-11-02 17:44:09 +01:00
Emilien Mantel 97c3d2e169 Fix and improve tests/vhosts + php_index vhost 2015-11-02 16:30:46 +01:00
Emilien Mantel 70529e223d nginx_vhosts[x].name now accepts list or string 2015-10-22 10:25:30 +02:00
Emilien Mantel 710b3ad53b New vhost option: manage_local_content 2015-10-19 09:39:51 +02:00
Emilien Mantel 050c16401f Add feature: override_try_files on vhost 2015-10-15 16:21:36 +02:00
Emilien Mantel eaf4032bc0 Fix jessie and add doc 2015-10-09 17:54:07 +02:00
Emilien Mantel a50d7e8774 Test proxy with a real back-end: himself 2015-10-09 14:31:01 +02:00
Emilien Mantel 96bbc47d27 First shot proxy (unstable) 2015-10-08 18:21:40 +02:00
Emilien Mantel 95e2cb5f12 Fix more params and add upstream params 2015-09-21 16:29:14 +02:00
Emilien Mantel 9da1673293 Add "more" info on vhost 2015-09-09 17:44:53 +02:00
Emilien Mantel 5bd1232df3 Add pkg curl 2015-08-04 13:27:52 +02:00
Emilien Mantel 573bd196e4 Try fix tests for travis 2015-08-04 12:40:04 +02:00
Emilien Mantel 57a434c0c1 First try with travis 2015-08-04 12:26:38 +02:00
Emilien Mantel 88cdaece38 Fix idempotent: vhost disabled/deleted 2015-07-31 01:02:37 +02:00
Emilien Mantel c53ab5d008 New feature: custom location in vhost 2015-07-31 00:38:16 +02:00
Emilien Mantel 5ea3641fe7 Remove php upstream with TCP 2015-07-30 16:42:09 +02:00
Emilien Mantel eab6046422 Add redirection_from test 2015-07-30 15:53:45 +02:00
Emilien Mantel 67d220e39f Switch to new vhost management 2015-07-30 15:37:25 +02:00
Emilien Mantel ec94521c5b Migrate to jinja block ok 2015-07-30 13:02:21 +02:00
Emilien Mantel f56ddc9805 Add files to test vhosts 2015-07-16 16:24:44 +02:00
Emilien Mantel 5d084416e1 Better PHP and vhost management 2015-07-16 11:44:54 +02:00
Emilien Mantel 596aaefb31 Manage vhost aliases 2015-07-15 17:57:42 +02:00
Emilien Mantel 73a68a15b1 Add vhost testing 2015-07-15 17:24:50 +02:00
Emilien Mantel 721606056d PHP works 2015-07-15 16:26:27 +02:00
Emilien Mantel 4d7c181f06 Vhost static OK (dirty) 2015-07-15 15:18:51 +02:00
Emilien Mantel 64cf8b53a4 Init repo 2015-07-15 12:14:39 +02:00