This page does not refer to the most recent version of the SCM-Manager. Go to the latest version of this page.

Reverse Proxy

How to use SCM-Manager with common reverse proxies

TODO reverse proxies in general send X-Forwarded headers ...


TODO ...


ProxyPass /scm http://localhost:8080/scm
ProxyPassReverse /scm http://localhost:8080/scm
ProxyPassReverse  /scm  http://servername:8080/scm
<Location /scm>
 Order allow,deny
 Allow from all
  • Warning: Setting ProxyPassReverseCookiePath would most likely cause problems with session handling!
  • Note: If you encounter timeout problems, please have a look at Apache Module mod_proxy#Workers.


TODO ...

SCM-Server conf/server-config.xml

NOTE: This file is found in the installation directory, not the user's home directory.

Uncomment following line:

<Set name="forwarded">true</Set>


<Call name="addConnector">
    <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
      <Set name="host">
        <SystemProperty name="" />
      <Set name="port">
        <SystemProperty name="jetty.port" default="8080"/>
      <!-- for mod_proxy -->
      <Set name="forwarded">true</Set>