Commit Graph

127 Commits (a1e76453cf10b707724ede3995217861e11d0ab1)

Author SHA1 Message Date
Emilien Mantel 729173c46c Better SSL management
- Use filter plugins
- Acme: can use proxy protocol
- Acme: uses all sites name
- Acme: add more tests while crashing
2019-12-31 12:43:43 +01:00
Emilien Mantel 2f8ce00067 Add tests on proxy protocol 2019-12-30 17:43:18 +01:00
Emilien Mantel 9b286f9b96 Fix some issues:
- "main_name" is name/name[0] not filename
- improve some tests
- better proxy protocol handling (not necessary to declare ports twice)
2019-12-30 17:28:34 +01:00
Emilien Mantel 4a2478a4fb [WIP] Working on FreeBSD tests
Replace ngrok by serveo.net?
2019-12-29 18:18:24 +01:00
Emilien Mantel a9a72dd25f Drop PHP version support (useless) + fix some bugs 2019-12-29 16:29:18 +01:00
Emilien Mantel 1280a441ee Fix tests on Sury 2019-12-26 17:35:00 +01:00
Emilien Mantel c524b97b0f Use upstream config from HanXHX.php role 2019-12-26 17:16:13 +01:00
Emilien M 39d3f5f06a
Fix lints warnings (#40)
* Add new filter plugins related to SSL
* Ignore lint on few tasks
2019-04-26 13:29:06 +02:00
Emilien Mantel a03a656b18 Prevent crash on Docker+Buster 2019-04-25 16:14:43 +02:00
Emilien Mantel 98b0de9265 Fix tests 2019-02-21 18:32:38 +01:00
Emilien Mantel 1437619475 Manages locations before "/" 2019-02-20 15:13:25 +01:00
Emilien Mantel 7959182bf8 Remove legacy code 2019-02-20 15:06:59 +01:00
Emilien Mantel 5ed17149e5 Drop Jessie support 2019-02-13 14:40:03 +01:00
Emilien Mantel c399bf35b5 Compat with modern ansible versions 2019-02-05 11:05:04 +01:00
Emilien M 8218e5c972
Fix deprecations (#35)
* Drop Nagios support
* Fix start PHP-FPM on Docker
* Fix deprecations on Ansible 2.7

- with_ -> loop
- fix filters as test
- test version_compare -> version
- set min_version to 2.5
2019-01-24 11:05:46 +01:00
Emilien Mantel 817929beca Add self-signed cert feature 2018-04-20 09:32:46 +02:00
Emilien Mantel 678dff9a1a Tune vimrc (mouse is boring on stretch) 2018-04-20 09:20:39 +02:00
Emilien Mantel c165f88126 Manage multiple names with acme.sh 2018-03-22 18:43:44 +01:00
Emilien Mantel 713a2241de Drop owncloud code 2018-03-17 14:04:48 +01:00
Emilien Mantel dd7834e8ce Fix daemonize lock file (ngrok)
It overwrited ngrok binary on Debian
2018-03-17 14:01:07 +01:00
Emilien Mantel 5843d695b3 Manage FreeBSD 11 2018-03-16 21:56:15 +01:00
Emilien Mantel 6897f66344 redirect_from manages now https sites 2018-03-15 12:54:12 +01:00
Emilien Mantel d3d9b5c296 Install modules OK 2017-12-14 20:06:29 +01:00
Emilien Mantel 45886ca9cc Install modules just after nginx 2017-12-14 19:41:05 +01:00
Emilien Mantel 2a5a1701f3 Try fix travis: php service not started 2017-12-07 12:40:16 +01:00
Emilien Mantel a01f6cd5ea Let's encript certificate with acme.sh 2017-12-03 01:32:56 +01:00
Emilien Mantel c79d370ad6 Add new site template: _php_index2 2017-11-27 13:34:03 +01:00
Emilien Mantel 8675d683ec Tests with uri module (closes #25) 2017-10-27 15:27:16 +02:00
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