Emilien Mantel
0b85d81991
Better redirect management
...
Fixes renew with letsencrypt (always redirect and never handle
challenge)
2018-03-15 18:30:01 +01:00
Emilien Mantel
7fe08beb9a
Enable TLSv1.3 on nginx v1.13.0
2018-03-15 18:13:13 +01:00
Emilien Mantel
33ef161623
Ansible 2.4 must not fail now
2018-03-15 18:07:36 +01:00
Emilien Mantel
c2685732a4
Manages Ansible 2.4+ with Docker
...
Closes #30
2018-03-15 18:06:38 +01:00
Emilien Mantel
737dfbeb30
Add debug mode
2018-03-15 16:10:37 +01:00
Emilien Mantel
def13392a7
Add Ansible 2.5 on travis
2018-03-15 12:56:12 +01:00
Emilien Mantel
6897f66344
redirect_from manages now https sites
2018-03-15 12:54:12 +01:00
Emilien Mantel
552999c782
Install modules on Debian 9+ or 8 with backports
2018-01-15 22:36:53 +01:00
Emilien Mantel
fe32f8d40a
Revert "minor fix"
...
This reverts commit 5d46daaba8
.
2018-01-15 22:33:55 +01:00
Emilien Mantel
5d46daaba8
minor fix
2018-01-15 19:12:22 +01:00
Emilien Mantel
4ca8f9e319
Check nginx_version before install modules
2018-01-15 18:41:17 +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
bb74ac804e
Donation
2017-12-09 17:05:02 +01:00
Emilien Mantel
2a5a1701f3
Try fix travis: php service not started
2017-12-07 12:40:16 +01:00
Emilien Mantel
a1866f806f
Fix test php_index2, fallback in /index.php
2017-12-07 11:14:19 +01:00
Emilien Mantel
0788b6c84f
Delete PHP upstream when nginx_php is empty
...
Closes #31
2017-12-07 11:09:44 +01:00
Emilien Mantel
222998839c
Fix site.state == absent
...
- Site is deleted now
- Doc updated
2017-12-06 12:05:46 +01:00
Emilien Mantel
d00f3301e1
_php template, do not go to /index.php as fallback
2017-12-05 10:40:21 +01:00
Emilien Mantel
8f76b9c68c
acme.sh : no_log + fix check created
2017-12-03 02:15:48 +01:00
Emilien Mantel
8dca6c8404
Fix acme when acme_port is not defined
2017-12-03 02:08:32 +01:00
Emilien Mantel
a01f6cd5ea
Let's encript certificate with acme.sh
2017-12-03 01:32:56 +01:00
Emilien Mantel
609e4f013d
Fix crash when nginx_upstream is not set
2017-11-27 13:43:28 +01:00
Emilien Mantel
c79d370ad6
Add new site template: _php_index2
2017-11-27 13:34:03 +01:00
Emilien Mantel
45f800fe18
With Vagrant 2.* ansible.sudo -> ansible.become
2017-11-27 13:25:04 +01:00
Emilien Mantel
9fc4838b1b
Fix loop control
2017-11-03 11:06:57 +01:00
Emilien Mantel
3304934227
Add loop_control.label on site tasks
2017-11-03 10:56:18 +01:00
Emilien Mantel
57968b50c0
Restart nginx on SSL file writes
2017-11-03 10:30:24 +01:00
Emilien Mantel
8675d683ec
Tests with uri module ( closes #25 )
2017-10-27 15:27:16 +02:00
Emilien Mantel
10bd837f54
Setup is now 'handled'
2017-10-26 15:50:59 +02:00
Emilien Mantel
332e28a9d7
YAML cleaning
2017-10-26 15:47:30 +02:00
Emilien Mantel
4b3b857733
Remove heavy code (nginx filename) using a filter
2017-10-26 15:33:00 +02:00
Emilien Mantel
608784ca55
Fix travis
2017-10-26 11:45:20 +02:00
Emilien Mantel
36652f4742
Move upstream templates to conf.d
2017-10-26 11:09:21 +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
70283ddcc6
Update .travis.yml
...
Fix failures
2017-10-03 19:57:04 +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
cfe27ef245
Bypasses ansible 2.4.0.0 service issue
...
On Ansible 2.4, it seems the service is not reloaded/restarted. This
commit skips errors...
2017-10-03 17:35:35 +02:00
Emilien Mantel
6f098475e5
Remove useless vagrant boxes
2017-10-03 16:52:45 +02:00
Emilien Mantel
090875cbde
Travis changes
...
- drop allow failure for stretch and ansible 2.3
- manages ansible 2.4
2017-09-26 09:44:52 +02:00
Emilien Mantel
b72263f7e5
Fix failures on travis
2017-07-27 14:56:43 +02:00
Emilien Mantel
4751eaa3c1
Add missing cont on Vagrant
2017-07-27 14:31:42 +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
6935404939
Improve syntax readability
2017-07-27 12:21:10 +02:00
Emilien Mantel
acf8de8f87
Fix warning on when
2017-07-27 12:01:59 +02:00
Emilien Mantel
50e25d45b8
Elegent fail for htpasswd+stretch ( #28 related)
2017-07-27 11:50:48 +02:00
Emilien Mantel
adf53b0d95
Fix redirect_to when filename is set
2017-07-25 17:00:34 +02:00
Emilien Mantel
4d819ac2a1
Add tags to ssl and site configuration
2017-07-19 15:57:41 +02:00
Emilien Mantel
af9fa6a2c3
Update stretch vagrant box (virtualbox)
2017-06-29 15:04:59 +02:00