summaryrefslogtreecommitdiffstats
path: root/modules/tozt/files/nginx/headscale.conf
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-21 00:27:17 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-21 00:27:17 -0500
commitec941f994fbc72ab9291e4fef39f167d17c0137e (patch)
tree4a2ccd33ae363961c446330212111c932d6d1f52 /modules/tozt/files/nginx/headscale.conf
parent5bfea3f6c1f7a99b36eb776d77c02d64059b9790 (diff)
downloadpuppet-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.conf10
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