Vault behind Apache reverse proxy with non-root base path. Anyone?


Was anyone able to get this working in Apache somehow? I was able to get it going for Consul but Vault has no ui_content_path option, which is making it very difficult.

Thanks in advance.

I’m afraid you’ll need to do some url rewriting for this, as Vault does not support this natively, as you mentioned.

Yeah, and mod_rewrite is not enough even. I managed to achieve some success, but it felt so hack’ish in the end that I gave up and just went with a dedicated VirtualHost. I’ll revisit it if at some point Hashicorp provides proper settings for this.