Commit Graph

1850 Commits

Author SHA1 Message Date
Râu Cao 1362da0add
Migrate RS Discourse proxy to openresty 2023-07-26 15:57:08 +02:00
Râu Cao 15b2ea284a
Migrate mastodon proxy to openresty 2023-07-26 15:44:04 +02:00
Râu Cao ad59913555
Migrate lndhub proxy to openresty 2023-07-26 15:00:55 +02:00
Râu Cao 1bad2939de
Migrate accounts API proxy to openresty 2023-07-26 15:00:43 +02:00
Râu Cao 7b5d46c813
Update openresty cookbook 2023-07-26 14:52:16 +02:00
Râu Cao 98d423aa70
Update roles 2023-07-26 14:16:33 +02:00
Râu Cao 4b14297f83
WIP Migrate Gitea proxy to openresty
TODO: Make nginx_ssh stream resource work with openresty cookbook
2023-07-26 14:15:46 +02:00
Râu Cao 1681942fb1
Migrate static website to openresty 2023-07-26 14:15:22 +02:00
Râu Cao 4d528d67ef
Migrate RSK proxies to openresty 2023-07-26 14:08:44 +02:00
Râu Cao 53abc2ec9a
Migrate Drone CI proxy to openresty 2023-07-26 14:07:48 +02:00
Râu Cao 543b482adb
Migrate discourse proxy to openresty 2023-07-26 13:40:19 +02:00
Râu Cao 87657db8a7
Update openresty cookbook 2023-07-26 13:39:07 +02:00
Râu Cao 4b0b4b8d80
Migrate akkounts proxy to openresty 2023-07-26 13:31:28 +02:00
Râu Cao 77c97607d5
Update openresty cookbook 2023-07-26 13:31:27 +02:00
Râu Cao 4b08e4fc8c
Add JSON log format to openresty 2023-07-26 13:31:23 +02:00
Râu Cao 507a812f33 Merge pull request 'Exclude specified VMs from image backups' (#509) from feature/kvm_backup_exceptions into master
Reviewed-on: #509
2023-07-26 08:58:45 +00:00
Râu Cao fb708743cc
Remove obsolete node 2023-07-26 09:31:38 +02:00
Râu Cao 9568b7072d
Exclude specified nodes/VMs from image backups 2023-07-25 16:58:16 +02:00
Râu Cao a85bbc4a3e
Add kvm host role 2023-07-25 16:38:52 +02:00
Râu Cao 266b17eb98 Merge pull request 'Set up openresty' (#502) from feature/501-openresty into master
Reviewed-on: #502
2023-07-25 11:24:39 +00:00
Râu Cao 7d9faf40d8 Merge pull request 'Upgrade Gitea to 1.20.1' (#508) from chore/upgrade_gitea_to_1.20.1 into master
Reviewed-on: #508
2023-07-23 10:59:11 +00:00
Râu Cao 149760702b
Upgrade Gitea to 1.20.1 2023-07-23 12:58:02 +02:00
Râu Cao ec77e19ab0
Update SMTP credentials 2023-07-23 12:56:46 +02:00
Râu Cao baab02515c
Remove attributes from node config 2023-07-23 12:56:27 +02:00
Râu Cao c48dd4c997
Replace postgresql primary, add new replica 2023-07-21 14:56:14 +02:00
Râu Cao e5805169f5
Improve script for switching postgres primary 2023-07-21 14:55:43 +02:00
Greg be072fb985 Update vagrant-openresty node file 2023-07-19 10:01:51 +02:00
Greg 0fc388f43c Don't redirect http for the hello_world openresty app 2023-07-19 10:01:10 +02:00
Greg 27b466f30d Add new architecture to Gemfile.lock 2023-07-17 18:09:55 +02:00
Greg 1a19fa012d Deploy openresty proxy on draco
Also update Chef to 18.2.7
2023-07-17 18:09:13 +02:00
Greg 7b0313fbd4 Add access and error logs for the assets vhost 2023-07-17 18:08:32 +02:00
Greg 1183f6a621 Add missing dependency on git to deploy the assets 2023-07-17 18:08:21 +02:00
Greg 05daff9029 Install certbot when using the tls_cert_for resource 2023-07-17 18:07:50 +02:00
Greg 307ccbd561 Set a production run list for the openresty_proxy role
It only contains the assets for now
2023-07-17 18:06:58 +02:00
Greg cc91aab155 Use the new way of setting attribute whitelists 2023-07-17 18:06:23 +02:00
Greg bf72367cf2 Add a firewall rule to the kosmos_openresty cookbook
It is part of the run list in production
2023-07-17 18:05:34 +02:00
Greg 4e0bd191c3 Move the Hello World lua app to its own recipe
Use it in the development environment
2023-07-17 18:04:35 +02:00
Greg 96f45b1f63 Set the required Chef version to 18 2023-07-17 18:03:02 +02:00
Greg 030dbc3584 Update the openresty cookbook submodule 2023-07-17 18:00:38 +02:00
Greg 84ffb46ed5 Add Chef node file for openresty VM 2023-07-17 14:46:38 +02:00
Greg 491cd31fac Add openresty Vagrant box 2023-07-15 17:20:06 +02:00
Greg 2acf4c2b59 Update Chef in Vagrant setup 2023-07-15 17:19:50 +02:00
Greg df1143525d Add openresty roles 2023-07-12 20:37:03 +02:00
Greg d79dcd8e65 Deploy kosmos assets with Openresty 2023-07-12 20:36:12 +02:00
Greg c1e2145ba1 Create a resource to get a Let's Encrypt cert with DNS validation 2023-07-12 20:35:15 +02:00
Greg d077dfdcf2 Deploy a hello world openresty app 2023-07-12 20:34:00 +02:00
Greg 8a3c519a6c Update our fork of the openresty cookbook 2023-07-12 20:32:53 +02:00
Greg abb652cc2b Fix the openresty submodule 2023-07-08 15:37:12 +02:00
Greg b7c36d427e Add jemalloc and yum cookbooks 2023-07-08 15:12:30 +02:00
Greg 1bdcda0e97 Initial kosmos_openresty wrapper cookbook 2023-07-06 10:17:11 +02:00