I'm migrating from JBoss 6.4.3 to JBoss 7.2 and saw a Valves are no longer supported warning during deployment. This came from a jboss-web.xml file with: <valve> <class-name>org.jboss.web.rewrite.RewriteValve</class-name> </valve> ...and a corresponding rewrite.properties file: RewriteCond %{HTTP:X-Forwarded-Proto} http RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L] Could anyone advise how to rewrite this (no pun intended) for Undertow? Continue reading...