From b22a6aa0f097813a98498502c62a2d78f28e98fb Mon Sep 17 00:00:00 2001 From: immerrr Date: Tue, 22 May 2018 16:27:21 +0400 Subject: [PATCH] Make queue URLs based on "Host" header of incoming request --- elasticmq.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/elasticmq.conf b/elasticmq.conf index 8752142..43e8f72 100644 --- a/elasticmq.conf +++ b/elasticmq.conf @@ -1,5 +1,14 @@ include classpath("application.conf") +// node-address.host = "*" means the server will take "Host" header of incoming +// requests to generate queue URLs. +node-address { + protocol = http + host = "*" + port = 9324 + context-path = "" +} + queues { queue1 {} }