Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

Teamcity Configuration

Ruben Schmidmeister edited this page May 3, 2019 · 5 revisions

Server config

Make the following changes in /opt/teamcity/conf/server.xml:

<Connector port="8111" protocol="org.apache.coyote.http11.Http11NioProtocol"
           connectionTimeout="60000"
+          address="127.0.0.1"
+          proxyName="teamcity.myelin.ch"
+          proxyPort="443"
+          secure="true"
+          scheme="https"
           redirectPort="8543"
           useBodyEncodingForURI="true"
<Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">
    <!-- ... -->
+   <Valve className="org.apache.catalina.valves.RemoteIpValve"
+          remoteIpHeader="x-forwarded-for"
+          protocolHeader="x-forwarded-proto" />
</Host>

Fix startup taking forever

Install and start haveged:

dnf install haveged
systemctl enable haveged
systemctl start haveged

Source: https://skryvets.com/blog/2017/07/26/solving-teamcity-slow-start/

Clone this wiki locally