Commit Graph
100 Commits
Author SHA1 Message Date
Emilien Mantel 5e254331c4 manage php upstream version (styles) on vhost 2016-08-26 12:14:54 +02:00
Emilien Mantel 3ab8e0391c Disable tests for owncloud (fix later) 2016-08-25 18:19:07 +02:00
Emilien Mantel aac33b7376 better vhost for owncloud 2016-08-11 13:03:56 +02:00
Emilien Mantel 88c6c5a043 Manages PHP minor versions 2016-08-11 11:30:26 +02:00
Emilien Mantel a9ad41b40f Fix more block for owncloud 2016-08-11 11:09:43 +02:00
Emilien Mantel d26b2b9a49 Fix owncloud root 2016-08-11 10:59:44 +02:00
Emilien Mantel b17acac4c4 Tests packages on Debian 2016-08-11 10:48:12 +02:00
Emilien Mantel c160640c7f Force latest version of openssl when uses nginx from backports 2016-08-11 10:36:50 +02:00
Emilien Mantel 887219f86c Force install OpenSSL from backports when nginx uses backports 2016-08-11 10:25:45 +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 1204dbacd1 [FreeBSD] Enable nginx service 2016-03-15 23:12:17 +01:00
Emilien Mantel 3087154335 [FreeBSD] restart nginx on vhost config changed 2016-03-15 23:00:55 +01:00
Emilien Mantel 72edbe8656 [FreeBSD] Force create log dir 2016-03-15 22:49:19 +01:00
Emilien Mantel d49e41652c Update cipher list (from https://cipherli.st/) 2016-03-15 17:59:48 +01:00
Emilien Mantel 9b19231d8b use headers instead of more 2016-03-15 17:15:46 +01:00
Emilien Mantel 80d1d82acc Fix handler (didn't reload service after nginx -t) 2016-03-15 17:15:11 +01:00
Emilien Mantel 5445d66172 Add a wrapper: test configuration before reloading (better debugging) 2016-03-15 15:57:46 +01:00
Emilien Mantel 9a5afd09fa Force X-Frame-Options SAMEORIGIN for Nagios (closes #17) 2016-03-15 15:46:49 +01:00
Emilien Mantel 96e406c791 always directive managed for add_header option 2016-03-15 15:30:22 +01:00
Emilien Mantel 02994af5ee Default headers with always directive 2016-03-15 15:01:58 +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 d223f8b144 Add a check for HTTPS redirect 2016-03-15 09:22:01 +01:00
Emilien Mantel 8f837de390 Avoid double / in redirect_https 2016-03-15 09:08:52 +01:00
Emilien Mantel aa4bc8d6a7 Move to new galaxy version 2016-03-14 19:39:11 +01:00
Emilien Mantel 2fcf7fa701 Delete useless files 2016-03-14 19:37:25 +01:00
Emilien Mantel 91686fc266 doc minor fix 2016-03-14 19:27:51 +01:00
Emilien Mantel 5e493c15ac Fix deprecation warning 2016-03-14 19:21:47 +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 9b5f136510 Fix trailing whitespaces 2016-03-09 11:20:19 +01:00
Emilien Mantel 7cc44bc009 Fix regression (merge?): filename for vhosts 2016-03-09 11:15:37 +01:00
Emilien Mantel 078c3420e1 Fix Vagrantfile (debian is not freebsd)... uh? :) 2016-03-09 10:28:06 +01:00
Emilien Mantel 2cfda9a930 Fix check HTTP2 on FreeBSD (multi-OS code) 2016-03-08 19:37:39 +01:00
Emilien Mantel 33f34a0550 Manage FreeBSD nginx package name 2016-03-07 12:08:34 +01:00
Emilien Mantel 8fc6f7117e Doc fixes 2016-03-07 12:05:58 +01:00
Emilien Mantel 972555ce22 Minor fixes 2016-03-07 11:59:26 +01:00
Emilien Mantel 2f0672359d I support now FreeBSD! 2016-03-05 18:43:49 +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 44a5c31b12 Typofix 2016-03-05 12:12:09 +01:00
Emilien Mantel 232e63dffe Add travis webhook to galaxy 2016-03-05 12:06:08 +01:00
Emilien Mantel fe68e17663 Logging must be set to false to be disabled 2016-03-05 12:00:07 +01:00
Emilien Mantel ac61b3df0a Add new galaxy tags 2016-03-05 11:40:43 +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 e43a958b03 Gitignore *.retry 2016-03-05 11:06:34 +01:00
Emilien Mantel 47c24a2eb3 Fix HTTP2 syntax error 2016-03-05 10:59:20 +01:00
Emilien Mantel 82c44be932 Use official debian box and DHCP 2016-03-05 10:46:46 +01:00
Emilien Mantel 781008dfff Each vhost can have his own filename 2016-03-04 16:38:40 +01:00
Emilien Mantel 26a50945c5 Split apt update cache (fix install when cache is outdated) 2016-02-09 18:36:48 +01:00
Emilien Mantel 4dc28d9471 Delete useless tasks 2016-02-09 17:17:44 +01:00
Emilien Mantel 3231e58bc0 Test stub status on default http vhost 2016-02-09 16:57:13 +01:00
Emilien Mantel d4f9b6f710 Fix default var nginx_custom_http 2016-01-26 11:19:51 +01:00
Emilien Mantel d049be0d81 Remove duplicate link 2016-01-25 17:02:17 +01:00
Emilien Mantel 863dc6ca76 In tests, dh = 1024bits (speedup tests) 2016-01-22 10:06:35 +01:00
Emilien Mantel 1338e4dee6 Fix indent 2016-01-22 09:52:15 +01:00
Emilien Mantel dd97e5ec79 Apps vhosts should without root and created dirs 2016-01-22 09:46:43 +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 0a8f21b0b7 Min ansible version is now 2.0 (closes #10) 2016-01-21 17:10:36 +01:00
Emilien Mantel 75d815b4a4 Revert "Bypass htpasswd module bug (state=absent on missing file)"
This reverts commit f8d138828b.
2016-01-21 17:09:54 +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 287d154532 SSL strapling on Nginx >= 1.3.7 2016-01-15 12:13:15 +01:00
Emilien Mantel 11c98ab145 SSL with existing keys 2016-01-12 17:26:30 +01:00
Emilien Mantel ef5a7bf756 Closes #9 2016-01-12 15:10:43 +01:00
Emilien Mantel 2f6f2d4362 Fix variable check 2016-01-12 15:01:01 +01:00
Emilien Mantel 53b9dc078e Minor changes on doc 2016-01-12 14:48:53 +01:00
Emilien Mantel ccba868390 Improve checks SSL/TLS + vhost 2016-01-12 14:40:09 +01:00
Emilien Mantel 9b6523a0b1 Doc split + SSL + minor changes 2016-01-12 12:14:36 +01:00
Emilien Mantel 883948f081 Better dh management 2016-01-12 11:16:41 +01:00
Emilien Mantel ad9c0fa979 Fix main name in vhosts 2016-01-12 09:27:53 +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 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 05cb864c7c Use more vars instead of a bug dirty dict 2015-12-09 16:46:50 +01:00
Emilien Mantel f8d138828b Bypass htpasswd module bug (state=absent on missing file) 2015-12-04 08:54:59 +01:00
Emilien Mantel 1d86ed9a40 Add htpasswd doc 2015-12-03 17:24:58 +01:00
Emilien Mantel f9127f9a40 Manage auth basic on all vhost 2015-12-03 17:09:29 +01:00
Emilien Mantel 88d1c7fdb7 Use macro for auth_basic 2015-12-03 16:59:37 +01:00
Emilien Mantel c0f2d694e7 Meilleure gestion des dossiers et htpasswd par location 2015-12-03 16:32:08 +01:00
Emilien Mantel 0d65cd3c5c Add redirect_to_code in vhost 2015-12-01 16:40:34 +01:00
Emilien Mantel 9779555ac8 Few minor changes 2015-12-01 16:35:56 +01:00
Emilien Mantel 17905edf30 Begin Stretch support 2015-12-01 16:26:16 +01:00
Emilien Mantel f2c6ec6c57 Travis badge on master branch 2015-12-01 15:52:10 +01:00