TeamCity behind HTTPS reverse proxy
Hi,
we have TC server running in Docker (Windows container) behind HTTPS reverse proxy and we got the proxy settings warning message
Tomcat connector configuration missing secure="true" and scheme="https" attributes.
So we followed the steps mentioned in the documentation for the server image (https://hub.docker.com/r/jetbrains/teamcity-server) and set the TEAMCITY_HTTPS_PROXY_ENABLED env. variable to true. During the TC server startup we see that the log says "Proxy is enabled" which (based on the content of the run-server.ps1) means that the env. variable was correctly set and the server should use the server-https-proxy.xml instead of server.xml. But the message regarding the Tomcat configuration is still present. But when I add these attributes to the connector in the server.xml manually then the warning message dissapears. So it seems that for the windows docker container the environment variable still can be used but actually does not do anything.
Same problem was already discussed here (for the linux container): https://youtrack.jetbrains.com/issue/TW-68935 (I also added the comment there)
In the documentation it seems that the env. variable is only useful for the Linux container (topic "TeamCity behind HTTPS reverse proxy" is nested under the Linux container section) and my question would be if this is really the case or of this should work also for the Windows docker containers.
Thank you
Please sign in to leave a comment.