Commit Graph

42 Commits

Author SHA1 Message Date
Marius f5a2be33c8 Disable HTTP/2 for non-HTTPS traffic 2017-01-26 22:31:35 +01:00
Marius 36f646851d Enable HTTP/2 support on master.tus.io 2017-01-24 09:47:06 +01:00
Mischa ter Smitten e7eb8439d1 More Frey specific variables (#92) 2017-01-12 16:06:30 +01:00
Mischa ter Smitten 778ec8fe77 Make use of ssh pipelining (#90)
And fixate ansible_managed variable
2017-01-12 14:01:31 +01:00
Mischa ter Smitten 93c62b836d Fix for failing apt-get dist-upgrade 2017-01-12 09:31:23 +01:00
Kevin van Zonneveld 598ca78fa7 Upgrade Frey to v0.3.27 /cc @tersmitten (#85)
* Upgrade Frey to v0.3.27 /cc @tersmitten

* Add forgotten and misspelled role variables

* Make it easier to override settings and clear that this is a private file
2017-01-11 10:25:28 +01:00
Kevin van Zonneveld cc78da7de5 Pin Frey as a dependency vs installing latest globally 2016-12-20 13:42:06 +01:00
Marius 2d187c00aa Correct state of nginx after restarting 2016-11-11 23:30:32 +01:00
Marius 2665650b8c Restart nginx instead of reloading 2016-11-11 23:24:12 +01:00
Marius bffd8f24b0 Deploy current master branch to master.tus.io 2016-11-11 15:59:01 +01:00
Marius 09a0deaca8 Reload nginx instead of restarting
If the restart of nginx fails (e.g. address already in use), the service will
not reload the configuration which is usually not wanted. By using nginx(1)
and telling it explicitly to reload the configuration, these issues do not
appear.
2016-11-09 23:23:45 +01:00
Marius 97def4c99f Enable SSL session cache for master.tus.io 2016-11-09 23:10:18 +01:00
Marius 25771dfbcd Enable OCSP stapling for master.tus.io 2016-11-09 22:56:15 +01:00
Marius 2ef7e5c975 Generate and use custom primes for DH 2016-11-09 21:44:24 +01:00
Marius d5e3ca60af Enable SSL using certificate from Let's Encrypt 2016-11-04 19:51:44 +01:00
Marius a0b37487e9 Add public directory 2016-11-04 19:51:39 +01:00
Marius 3b55041992 Add configuration file for nginx 2016-11-04 18:54:35 +01:00
Marius 6c3af75c51 Use nginx as reverse proxy in front of tusd 2016-11-04 18:53:21 +01:00
Marius e4cd32f2c4 Do not use limitedstore on master.tus.io instance 2016-10-27 23:07:09 +02:00
Marius 2f5bc77649 Enable running tusd behind the CloudFlare proxy for supporting HTTPS uploads 2016-10-14 11:35:21 +02:00
Kevin van Zonneveld 0c99b7377a Make sure rsyslog has permissions to write to log dir 2016-10-12 20:50:02 +02:00
Kevin van Zonneveld 4d595672f6 Merge remote-tracking branch 'origin/master' 2016-09-30 13:13:22 +02:00
Kevin van Zonneveld 3d2320a0f2 Make ssh key creation, part of infra setup /cc @Acconut 2016-09-30 13:13:20 +02:00
Marius 17009cf5f1 Use latest 0.6.0 release for deployments 2016-09-30 12:54:15 +02:00
Kevin van Zonneveld db6c11d6f5 Revert "Hostname should be part of freyfile"
This reverts commit 19a6611a89.
2016-09-28 16:00:15 +02:00
Kevin van Zonneveld 785248765d Add a >24h cleanup cronjob for tus uploads /cc @Acconut @arturi 2016-09-28 09:48:46 +02:00
Kevin van Zonneveld 19a6611a89 Hostname should be part of freyfile 2016-09-28 09:39:40 +02:00
Kevin van Zonneveld a3f8592d4f Upgrade deploy to 0.5.2 2016-09-15 23:04:49 +02:00
Kevin van Zonneveld 154e6a2813 Switch to HCL-based Frey (#63) 2016-09-15 12:49:15 +02:00
Kevin van Zonneveld de682b2fe6 unattended-upgrades 2016-03-31 15:38:16 +02:00
Kevin van Zonneveld 8e91ba9b92 We no longer need any env.sh 2016-03-30 16:13:20 +02:00
Kevin van Zonneveld f0f16865a9 Rebuild env so it can be deployed to the tus server 2016-03-29 17:52:46 +02:00
Kevin van Zonneveld 2205a84499 Save state 2016-03-29 17:22:20 +02:00
Kevin van Zonneveld 4879004fe4 Open up port 22 so Travis CI can deploy to it 2016-03-29 17:22:09 +02:00
Kevin van Zonneveld 536727e92d Save state 2016-03-29 16:43:19 +02:00
Kevin van Zonneveld d27fb04e5e Put env in subdir for now 2016-03-29 16:43:12 +02:00
Kevin van Zonneveld 36bebff87c Rename infra-tusd -> tusd 2016-03-29 16:21:21 +02:00
Kevin van Zonneveld 7d6a7beb8b Replace custom upstart template with Frey's upstart 2016-03-29 16:20:11 +02:00
Kevin van Zonneveld b95fc0615c No need to create shared log dir, Frey does this for us now 2016-03-29 15:59:51 +02:00
Kevin van Zonneveld 7db4d51c1a Allow ubuntu group access to release 2016-03-29 15:59:15 +02:00
Kevin van Zonneveld 68ed4ebcf0 Refactor Freyfile 2016-03-29 15:49:46 +02:00
Kevin van Zonneveld e54850a3aa Add Frey support
Squashed commit of the following:

commit 9071377570a97d599f7fc769f4d26b45d03020cb
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Tue Mar 29 13:36:57 2016 +0200

    Remove useless env code

commit 529aed3535d0159dd7291532ebb6cfcc9ae401c6
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Tue Mar 29 13:31:38 2016 +0200

    Update state, add launch target

commit fde533f9f6cc896a7e2abd7e68320d806d90ba27
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Tue Mar 29 11:07:35 2016 +0200

    First swing at moving Frey to tusd
2016-03-29 13:37:19 +02:00