summaryrefslogtreecommitdiffstats
path: root/sites/tinc.krebsco.de
diff options
context:
space:
mode:
Diffstat (limited to 'sites/tinc.krebsco.de')
-rw-r--r--sites/tinc.krebsco.de/README.md11
-rw-r--r--sites/tinc.krebsco.de/etc/nginx/sites-available/tinc.krebsco.de.conf10
2 files changed, 21 insertions, 0 deletions
diff --git a/sites/tinc.krebsco.de/README.md b/sites/tinc.krebsco.de/README.md
new file mode 100644
index 00000000..3d3d2faa
--- /dev/null
+++ b/sites/tinc.krebsco.de/README.md
@@ -0,0 +1,11 @@
+# tinc.krebsco.de
+tinc.krebsco.de is a curl | sh tinc bootstrapper. For more information see
+//retiolum/scripts/tinc_setup/README.
+
+The nginx is pointed to the folder //boot in painload.
+
+In order to avoid adding an addition file name a special nginx configuration
+based on the try_files directive.
+
+# Installation
+See etc/nginx/sites-available/tinc.krebsco.de.conf
diff --git a/sites/tinc.krebsco.de/etc/nginx/sites-available/tinc.krebsco.de.conf b/sites/tinc.krebsco.de/etc/nginx/sites-available/tinc.krebsco.de.conf
new file mode 100644
index 00000000..15749985
--- /dev/null
+++ b/sites/tinc.krebsco.de/etc/nginx/sites-available/tinc.krebsco.de.conf
@@ -0,0 +1,10 @@
+server {
+ listen <external-ip>:80;
+ server_name tinc.krebsco.de;
+ access_log /var/log/nginx/log/boot.krebsco.log main;
+ default_type text/plain;
+ # this path should be //boot
+ root /var/www/boot.krebsco.de;
+ try_files $uri $uri/retiolum.sh ;
+}
+