infrastructure/ansible/roles/headscale/files/nginx.conf
Jake Howard 2ceeaf091d
Some checks failed
/ terraform (push) Failing after 11m20s
/ ansible (push) Failing after 11m6s
Deploy headscale
2024-01-27 14:18:37 +00:00

17 lines
483 B
Nginx Configuration File

# {{ 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;
}
}