Gitlab is now using https://gitlab.lcsb.uni.lu as it's primary address. Please update your bookmarks. FAQ.

Commit f7bfd8c0 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

another proxe ip address

parent 7faffcca
......@@ -74,8 +74,8 @@ sudo sed -i '3i\ ProxyPass / http://localhost/\n ProxyPassReverse / http:/
#log IPs behind reverse proxy
echo >>/etc/apache2/apache2.conf
echo "RemoteIPHeader X-Forwarded-For" >> /etc/apache2/apache2.conf
echo "RemoteIPTrustedProxy 10.244.9.39" >> /etc/apache2/apache2.conf
echo "RemoteIPInternalProxy 10.244.9.39" >> /etc/apache2/apache2.conf
echo "RemoteIPTrustedProxy 10.244.9.39 10.244.9.34" >> /etc/apache2/apache2.conf
echo "RemoteIPInternalProxy 10.244.9.39 10.244.9.34" >> /etc/apache2/apache2.conf
echo 'LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined' >> /etc/apache2/apache2.conf
a2enmod remoteip
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment