From da8f0952253b7463ec1951dcdee0127fe7782c88 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 14 Jan 2014 03:43:08 +0100 Subject: add tinc.krebsco.de --- sites/tinc.krebsco.de/README.md | 11 +++++++++++ .../etc/nginx/sites-available/tinc.krebsco.de.conf | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 sites/tinc.krebsco.de/README.md create mode 100644 sites/tinc.krebsco.de/etc/nginx/sites-available/tinc.krebsco.de.conf (limited to 'sites/tinc.krebsco.de') 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 :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 ; +} + -- cgit v1.2.3