In this example we will disable the Index module and move REST module to http://api.example.com/
and http://rest.example.com
.
http { index (active: false) {} rest { context-path = '/' vhosts = [ 'api.example.com', 'rest.example.com' ] } }