Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3747796
D2827.id7213.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
D2827.id7213.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,11 +14,27 @@
# and will be lost if the state is redeployed.
# </auto-generated>
+# -------------------------------------------------------------
+# Back-end for API services
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+upstream docker-prod-datasources {
+ server 172.27.27.5:19080;
+}
+
+upstream docker-prod-registry {
+ server 172.27.27.5:20080;
+}
+
upstream vault {
server 172.27.27.7:8200;
# 2 servers should be added for HA, with a quorum for a Raft consensus
}
+# -------------------------------------------------------------
+# api.nasqueron.org configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
server {
listen 80;
listen [::]:80;
@@ -46,7 +62,7 @@
}
location /datasources {
- proxy_pass http://docker-002:19080;
+ proxy_pass http://docker-prod-datasources;
include includes/proxy;
include includes/cors-open;
}
@@ -72,7 +88,7 @@
}
location /docker/registry {
- proxy_pass http://docker-001.nasqueron.org:20080/;
+ proxy_pass http://docker-prod-registry/;
include includes/proxy;
include includes/cors-open;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 04:45 (4 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248682
Default Alt Text
D2827.id7213.diff (1 KB)
Attached To
Mode
D2827: Update api.nasqueron.org API configuration
Attached
Detach File
Event Timeline
Log In to Comment