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
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
d616657f12
travis: missing debian stretch + ansible 2.2
2017-06-09 09:48:24 +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
3ae791ec47
Role can be fully called in check mode
2017-06-01 11:38:22 +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
fcb59fd331
no_log when deleting htpasswd files
2017-03-14 11:21:35 +01:00
Emilien Mantel
2aa9e8b6b9
load modules uses pattern *.conf
2017-03-13 10:19:07 +01:00
Emilien Mantel
7892626fc0
Load module from {{nginx_dir}}/etc/modules-enabled
2017-03-13 09:53:29 +01:00
Emilien Mantel
ae167d3317
Disabling htpasswd by setting false
2017-03-08 11:10:14 +01:00
Emilien Mantel
d8f241f79c
Fix headers quotes on nagios
2017-02-09 12:30:13 +01:00
Emilien Mantel
0e33d1b372
Auto quote headers values
2017-02-09 12:03:14 +01:00
Emilien Mantel
2cd559b87a
Fix X-XSS-Protection with quotes
2017-02-09 11:59:33 +01:00
Emilien Mantel
d550f1bab1
Read-only var: nginx_servers_default_headers
2017-02-08 16:16:19 +01:00
Emilien Mantel
021ca4e173
Auto add "X-XSS-Protection" header to servers
2017-02-08 15:59:02 +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
f2cfae31b1
Update APT cache should not "change"
2016-12-08 17:34:59 +01:00
Emilien Mantel
481bcd34b1
no_log while creating SSL directories
2016-12-08 09:19:12 +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
4a3aed6974
no_log on task : Deploy SSL certs
2016-11-29 09:35:53 +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
E Mantel
de71e1bdcc
Better display for server_name
2016-11-16 20:51:03 +01:00
Emilien Mantel
19cdab5ba4
default vhost on HTTPS redirect
2016-11-15 17:15:39 +01:00
Emilien Mantel
999f226838
Delete useless test
2016-11-07 17:40:00 +01:00
Emilien Mantel
40f67fc103
Vhost ssl_name name is now optionnal
2016-11-07 17:22:14 +01:00