hashicorp vault behind nginx
How to get vault with https://myhost/vault address? non-root web url
- config.hcl - vault server configuration
- vault.location - location for vault service definiton in nginx
- api_addr = "http://127.0.0.1/vault/v1"
- tls_disable = 1
- proxy_protocol_behaviour = "use_always"
- location /vault/ {
- proxy_pass http://127.0.0.1:32765/;
- proxy_redirect /ui/ /vault/ui/;
- sub_filter '' '';
- sub_filter '"/ui/' '"ui/';
- sub_filter_once off;
- location /v1 {
- proxy_pass http://127.0.0.1:32765;