jetty.admin.url.rewrite.rules

Background

The admin server can be configure to create a rewrite handler. The rewrite handler allows you to perform URL rewriting at the server level, before requests reach your application handlers. Rules are quoted comma separated strings in the form of:

jetty.admin.url.rewrite.rules="regex_pattern1=replacement1","regex_pattern2=replacement2","regex_pattern3=replacement3"

Setting the key

Set this configuration key in the server configuration.

Use the configuration key editor to add or edit the jetty.admin.url.rewrite.rules key, and set the value. This can be set to any valid List<String> value.

Default value

jetty.admin.url.rewrite.rules=""