Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3917274
D2812.id7143.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2812.id7143.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 03:31 (10 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2308840
Default Alt Text
D2812.id7143.diff (1 KB)
Attached To
Mode
D2812: Publish Vault certificate information
Attached
Detach File
Event Timeline
Log In to Comment