This commit is contained in:
Roberto Alsina 2024-06-26 11:11:00 -03:00
parent 1fec492119
commit d85d37d757
9 changed files with 22 additions and 10 deletions

View File

@ -2,13 +2,5 @@
How I put my very own personal servers online, for free.
Details at [the blog post](http://ralsina.me/weblog/posts/the-cheapest-server.html)
When adding a new hostname, remember to create a cert for it using
`flyctl certs create hostname`
Every 90 days the tailscale auth key will expire and you need to set a new one as
a secret.
* Create the new one at https://login.tailscale.com/admin/settings/keys (MAKE IT REUSABLE)
* Configure it using flyctl secrets set TAILSCALE_AUTHKEY={{PASTEKEYHERE}}
* The reverse proxy setup is in `reverse_proxy/`
* The ansible playbooks to setup the actual server are in `provision-pinky`

3
provision-pinky/.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"ansible.python.interpreterPath": "/usr/bin/python"
}

17
reverse_proxy/README.md Normal file
View File

@ -0,0 +1,17 @@
# Reverse Proxy setup
How I put my very own personal servers online, for free.
This sets up a reverse proxy using nginx on a VM in fly.io using
tailscale to access the internal servers.
Details at [the blog post](http://ralsina.me/weblog/posts/the-cheapest-server.html)
When adding a new hostname, remember to create a cert for it using
`flyctl certs create hostname`
Every 90 days the tailscale auth key will expire and you need to set a new one as
a secret.
* Create the new one at https://login.tailscale.com/admin/settings/keys (MAKE IT REUSABLE)
* Configure it using flyctl secrets set TAILSCALE_AUTHKEY={{PASTEKEYHERE}}