summaryrefslogtreecommitdiffstats
path: root/modules/tozt/files/nginx/headscale.conf
diff options
context:
space:
mode:
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