← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12125: dhis2-tools - minor security issue with tomcat configuration. You need to

 

------------------------------------------------------------
revno: 12125
committer: Bob Jolliffe <bobjolliffe@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-09-17 19:55:30 +0100
message:
  dhis2-tools - minor security issue with tomcat configuration.  You need to
  set scheme and proxyPort when proxied behind an ssl server for the dhis2 webapp
  to send proper Location urls in redirects.
modified:
  tools/dhis2-tools-deb/pkg/usr/share/dhis2-tools/skel/conf/server.xml


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'tools/dhis2-tools-deb/pkg/usr/share/dhis2-tools/skel/conf/server.xml'
--- tools/dhis2-tools-deb/pkg/usr/share/dhis2-tools/skel/conf/server.xml	2013-07-01 12:34:28 +0000
+++ tools/dhis2-tools-deb/pkg/usr/share/dhis2-tools/skel/conf/server.xml	2013-09-17 18:55:30 +0000
@@ -12,7 +12,7 @@
     <Executor name="tomcatThreadPool" namePrefix="tomcat-http-" 
            maxThreads="100" minSpareThreads="10" /> 
                     
-    <Connector port="HTTPPORT" address="127.0.0.1" protocol="HTTP/1.1" 
+    <Connector port="HTTPPORT" address="127.0.0.1" protocol="HTTP/1.1" proxyPort="443" scheme="https"  
            executor="tomcatThreadPool" connectionTimeout="20000" />
  
     <Engine name="Catalina" defaultHost="localhost">


Follow ups