Deploy headscale

This commit is contained in:
Jake Howard
2024-01-27 14:18:37 +00:00
parent 06784563a7
commit 2ceeaf091d
11 changed files with 391 additions and 1 deletions

View File

@ -0,0 +1,17 @@
# {{ ansible_managed }}
server {
listen 8888 ssl proxy_protocol;
http2 on;
server_name headscale.jakehoward.tech;
ssl_certificate /etc/letsencrypt/live/headscale.jakehoward.tech/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/headscale.jakehoward.tech/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/headscale.jakehoward.tech/chain.pem;
include includes/ssl.conf;
location / {
proxy_pass http://localhost:8416;
}
}