diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-02-21 00:27:17 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2024-02-21 00:27:17 -0500 |
commit | ec941f994fbc72ab9291e4fef39f167d17c0137e (patch) | |
tree | 4a2ccd33ae363961c446330212111c932d6d1f52 /modules/tozt/files/nginx/headscale.conf | |
parent | 5bfea3f6c1f7a99b36eb776d77c02d64059b9790 (diff) | |
download | puppet-tozt-ec941f994fbc72ab9291e4fef39f167d17c0137e.tar.gz puppet-tozt-ec941f994fbc72ab9291e4fef39f167d17c0137e.zip |
add an attempt at basic headscale configuration
Diffstat (limited to 'modules/tozt/files/nginx/headscale.conf')
-rw-r--r-- | modules/tozt/files/nginx/headscale.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/tozt/files/nginx/headscale.conf b/modules/tozt/files/nginx/headscale.conf new file mode 100644 index 0000000..830a95c --- /dev/null +++ b/modules/tozt/files/nginx/headscale.conf @@ -0,0 +1,10 @@ +server { + listen 80; + server_name headscale.tozt.net; + + access_log /var/log/nginx/headscale.access.log; + error_log /var/log/nginx/headscale.error.log; + + rewrite ^(.*) https://$host$1 permanent; +} +# vim:ft=nginx |