diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 05:53:11 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 05:53:11 +0200 |
commit | b794f84da1aaf446a3965f9b9363f997b3183872 (patch) | |
tree | d59f80c7587b8748b79cdeecfb112892e7ccf083 /ufo.d/kickstart.conf | |
download | iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.gz iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.bz2 iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.xz iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.zip |
Initial configuration
Diffstat (limited to 'ufo.d/kickstart.conf')
-rw-r--r-- | ufo.d/kickstart.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ufo.d/kickstart.conf b/ufo.d/kickstart.conf new file mode 100644 index 0000000..027c496 --- /dev/null +++ b/ufo.d/kickstart.conf @@ -0,0 +1,14 @@ +location /ands { + proxy_pass http://ands.kaas.kit.edu/; + 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; + proxy_set_header ANDS-Real-IP $remote_addr; + proxy_set_header ANDS-Forwarded-For $proxy_add_x_forwarded_for; +} + +# Compatibility +location /ands/repos/centos74 { proxy_pass http://ands.kaas.kit.edu/repos/centos7/centos74/; } +location /ands/repos/gluster312 { proxy_pass http://ands.kaas.kit.edu/repos/centos7/centos312/; } +location /ands/repos/openshift37 { proxy_pass http://ands.kaas.kit.edu/repos/centos7/openshift37/; } +location /ands/repos/hardware { proxy_pass http://ands.kaas.kit.edu/repos/centos7/hardware/; } |