diff options
author | makefu <github@syntax-fehler.de> | 2014-01-14 03:43:08 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2014-01-14 03:43:08 +0100 |
commit | da8f0952253b7463ec1951dcdee0127fe7782c88 (patch) | |
tree | 29e112c415b5a720c4667a99b914cfa40bc3d69d /sites | |
parent | 318840c0460c93242b15f66052ae32739a991ba3 (diff) |
add tinc.krebsco.de
Diffstat (limited to 'sites')
-rw-r--r-- | sites/tinc.krebsco.de/README.md | 11 | ||||
-rw-r--r-- | sites/tinc.krebsco.de/etc/nginx/sites-available/tinc.krebsco.de.conf | 10 |
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 ; +} + |