summaryrefslogtreecommitdiffstats
path: root/sites
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-01-14 02:50:04 +0100
committermakefu <github@syntax-fehler.de>2014-01-14 02:50:04 +0100
commitc8d89f5cdd1aae2f5519bd49a9d77dbf280b57f3 (patch)
treed29146f212dbe4010bbe7c3d3529c612e67daf0d /sites
parent3271b31b1db806ec8e802c4f9e368fab0e855722 (diff)
add sample configuration for graph delivery with nginx
Diffstat (limited to 'sites')
-rw-r--r--sites/graph.krebsco.de/nginx/sites-available/graph.conf11
-rw-r--r--sites/graph.krebsco.de/nginx/sites-available/graph.krebsco.de.conf10
2 files changed, 21 insertions, 0 deletions
diff --git a/sites/graph.krebsco.de/nginx/sites-available/graph.conf b/sites/graph.krebsco.de/nginx/sites-available/graph.conf
new file mode 100644
index 00000000..98651cec
--- /dev/null
+++ b/sites/graph.krebsco.de/nginx/sites-available/graph.conf
@@ -0,0 +1,11 @@
+server {
+ # graph hosting internal
+ listen <internal-ip>:80;
+ server_name graph; # or your hostname
+ access_log /var/log/nginx/log/graph.log main;
+ default_type text/plain;
+ location / {
+ root /var/www/graph;
+ }
+}
+
diff --git a/sites/graph.krebsco.de/nginx/sites-available/graph.krebsco.de.conf b/sites/graph.krebsco.de/nginx/sites-available/graph.krebsco.de.conf
new file mode 100644
index 00000000..0619908e
--- /dev/null
+++ b/sites/graph.krebsco.de/nginx/sites-available/graph.krebsco.de.conf
@@ -0,0 +1,10 @@
+server {
+ listen <external-addr>:80;
+ server_name graph.krebsco.de;
+ access_log /var/log/nginx/log/graph.krebsco.de.access.log main;
+ default_type text/plain;
+ location / {
+ root /var/www/graph.krebsco.de;
+ }
+}
+