summaryrefslogtreecommitdiffstats
path: root/sites/graph.krebsco.de/etc/nginx
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2014-01-14 09:53:20 +0100
committermakefu <root@pigstarter.de>2014-01-14 09:53:20 +0100
commit8c2c2a68ae1db0e6ce86ce6f50df148f73a33989 (patch)
treef156b832445b256152979ec1c2e00a9a1f8a0f58 /sites/graph.krebsco.de/etc/nginx
parent883d70a810498b36ab174f2d3bfc2993e7502453 (diff)
parent5c5fc52820e94effbc64d0f248a8e262945c2ce3 (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'sites/graph.krebsco.de/etc/nginx')
-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;
+ }
+}
+