Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F55954552
D2812.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D2812.id.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
Mon, Nov 2, 18:15 (2 d, 11 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4245638
Default Alt Text
D2812.id.diff (1 KB)
Attached To
Mode
D2812: Publish Vault certificate information
Attached
Detach File
Event Timeline
Log In to Comment