about summary refs log tree commit diff
path: root/third_party/apereo-cas/overlay/etc/cas/config/cas.properties
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/apereo-cas/overlay/etc/cas/config/cas.properties')
-rw-r--r--third_party/apereo-cas/overlay/etc/cas/config/cas.properties8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/apereo-cas/overlay/etc/cas/config/cas.properties b/third_party/apereo-cas/overlay/etc/cas/config/cas.properties
index 9ef983b174ac..e11d41fdd6fe 100644
--- a/third_party/apereo-cas/overlay/etc/cas/config/cas.properties
+++ b/third_party/apereo-cas/overlay/etc/cas/config/cas.properties
@@ -8,6 +8,14 @@ server.port=8443
 server.address=127.0.0.1
 server.ssl.enabled=false
 
+# Enable X-Forwarded-For using Tomcat.
+server.forward-headers-strategy=NATIVE
+server.tomcat.remoteip.remote-ip-header=x-forwarded-for
+server.tomcat.remoteip.protocol-header=x-forwarded-proto
+
+server.tomcat.basedir=/etc/cas/tomcat
+server.servlet.context-path=/
+
 cas.authn.saml-idp.entity-id=https://login.tvl.fyi
 
 cas.authn.accept.users=