Expand lab seed tiers, OpenAPI PARAMS, and console DATA/Params UX.
This commit is contained in:
@@ -3,10 +3,9 @@
|
||||
#
|
||||
# Upstream listens on an internal-only port (simulator:8080). Host clients
|
||||
# should hit https://localhost/ — not the internal app port.
|
||||
|
||||
upstream vmware_simulator {
|
||||
server simulator:8080;
|
||||
}
|
||||
#
|
||||
# Use a variable + Docker DNS resolver so nginx starts even if the simulator
|
||||
# hostname is not yet resolvable (avoids crash-loop on recreate).
|
||||
|
||||
map $server_port $vmware_service {
|
||||
default "simulator";
|
||||
@@ -19,8 +18,10 @@ server {
|
||||
server_name _;
|
||||
resolver 127.0.0.11 valid=10s ipv6=off;
|
||||
|
||||
set $vmware_upstream simulator:8080;
|
||||
|
||||
location / {
|
||||
proxy_pass http://vmware_simulator;
|
||||
proxy_pass http://$vmware_upstream;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@@ -43,9 +44,10 @@ server {
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
|
||||
resolver 127.0.0.11 valid=10s ipv6=off;
|
||||
set $vmware_upstream simulator:8080;
|
||||
|
||||
location / {
|
||||
proxy_pass http://vmware_simulator;
|
||||
proxy_pass http://$vmware_upstream;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
||||
Reference in New Issue
Block a user