summaryrefslogtreecommitdiff
path: root/etc/nginx/sites-enabled/trollslayer.site
diff options
context:
space:
mode:
Diffstat (limited to 'etc/nginx/sites-enabled/trollslayer.site')
-rw-r--r--etc/nginx/sites-enabled/trollslayer.site15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/nginx/sites-enabled/trollslayer.site b/etc/nginx/sites-enabled/trollslayer.site
new file mode 100644
index 0000000..c7d5de9
--- /dev/null
+++ b/etc/nginx/sites-enabled/trollslayer.site
@@ -0,0 +1,15 @@
+server {
+ listen 80; ## listen for ipv4; this line is default and implied
+ # listen [::]:80 default_server ipv6only=on; ## listen for ipv6
+
+ root /var/www/trollslayer/;
+
+ # Make site accessible from http://localhost/
+ server_name trollslayer.decentralise.rennes.inria.fr;
+
+ location / {
+ proxy_pass http://gnunet.org:20070/shell/;
+ proxy_redirect off;
+ proxy_set_header Host $host;
+ }
+}