Page MenuHomeDevCentral

D2812.diff
No OneTemporary

D2812.diff

diff --git a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/api.conf b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/api.conf
--- a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/api.conf
+++ b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/api.conf
@@ -14,6 +14,11 @@
# and will be lost if the state is redeployed.
# </auto-generated>
+upstream vault {
+ server 172.27.27.7:8200;
+ # 2 servers should be added for HA, with a quorum for a Raft consensus
+}
+
server {
listen 80;
listen [::]:80;
@@ -71,6 +76,30 @@
include includes/proxy;
include includes/cors-open;
}
+
+ ###
+ ### Vault certificate information
+ ###
+
+ location /infra/security/pki/root/crl {
+ proxy_pass https://vault/v1/pki_root/crl;
+ include includes/proxy;
+ }
+
+ location /infra/security/pki/vault/crl {
+ proxy_pass https://vault/v1/pki_vault/crl;
+ include includes/proxy;
+ }
+
+ location /infra/security/pki/root/ca {
+ proxy_pass https://vault/v1/pki_root/ca;
+ include includes/proxy;
+ }
+
+ location /infra/security/pki/vault/ca {
+ proxy_pass https://vault/v1/pki_vault/ca;
+ include includes/proxy;
+ }
}
server {

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 08:05 (20 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2249602
Default Alt Text
D2812.diff (1 KB)

Event Timeline