summaryrefslogtreecommitdiffstats
path: root/sites/graph.krebsco.de/etc/nginx/sites-available
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-01-14 03:03:44 +0100
committermakefu <github@syntax-fehler.de>2014-01-14 03:03:44 +0100
commitf2cd78f33d93b1a92dd8a1c41aa0f52d93b29ad2 (patch)
tree97e8354d343a2574147bba623c07658511ec7ed2 /sites/graph.krebsco.de/etc/nginx/sites-available
parent829de1f23e54788693933ea61f9214b3af155f1f (diff)
graph.krebsco.de: mv {,etc/}nginx
Diffstat (limited to 'sites/graph.krebsco.de/etc/nginx/sites-available')
-rw-r--r--sites/graph.krebsco.de/etc/nginx/sites-available/graph.conf11
-rw-r--r--sites/graph.krebsco.de/etc/nginx/sites-available/graph.krebsco.de.conf10
2 files changed, 21 insertions, 0 deletions
diff --git a/sites/graph.krebsco.de/etc/nginx/sites-available/graph.conf b/sites/graph.krebsco.de/etc/nginx/sites-available/graph.conf
new file mode 100644
index 00000000..1b74f53a
--- /dev/null
+++ b/sites/graph.krebsco.de/etc/nginx/sites-available/graph.conf
@@ -0,0 +1,11 @@
+server {
+ # graph hosting internal
+ listen <internal-ip>:80;
+ server_name graph graph.retiolum; # or your hostname
+ access_log /var/log/nginx/log/graph.log main;
+ default_type text/plain;
+ location / {
+ root /var/www/graph.retiolum;
+ }
+}
+
diff --git a/sites/graph.krebsco.de/etc/nginx/sites-available/graph.krebsco.de.conf b/sites/graph.krebsco.de/etc/nginx/sites-available/graph.krebsco.de.conf
new file mode 100644
index 00000000..0619908e
--- /dev/null
+++ b/sites/graph.krebsco.de/etc/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;
+ }
+}
+