summaryrefslogtreecommitdiffstats
path: root/ufo.d/ufoweb.conf
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-06 05:53:11 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-06 05:53:11 +0200
commitb794f84da1aaf446a3965f9b9363f997b3183872 (patch)
treed59f80c7587b8748b79cdeecfb112892e7ccf083 /ufo.d/ufoweb.conf
downloadiperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.gz
iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.bz2
iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.xz
iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.zip
Initial configuration
Diffstat (limited to 'ufo.d/ufoweb.conf')
-rw-r--r--ufo.d/ufoweb.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/ufo.d/ufoweb.conf b/ufo.d/ufoweb.conf
new file mode 100644
index 0000000..5a134a2
--- /dev/null
+++ b/ufo.d/ufoweb.conf
@@ -0,0 +1,9 @@
+rewrite ^/$ http://ufo.kit.edu/dis/;
+
+location /dis {
+ proxy_pass https://192.168.26.211/dis/;
+ proxy_set_header Host $host;
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto $scheme;
+}