summaryrefslogtreecommitdiffstats
path: root/sites/tinc.krebsco.de
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-01-14 03:59:49 +0100
committerlassulus <lassulus@googlemail.com>2014-01-14 03:59:49 +0100
commit5c5fc52820e94effbc64d0f248a8e262945c2ce3 (patch)
treec54a336c93253afbe89bd8489516fd1379394f6f /sites/tinc.krebsco.de
parentb137ee46632b884c9c74f28ed38c3e6e89c17dcc (diff)
parentda8f0952253b7463ec1951dcdee0127fe7782c88 (diff)
Merge branch 'master' of github.com:krebscode/painload
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 ;
+}
+