fix: keep public demo online during optional upstream DNS outages
This commit is contained in:
@@ -195,6 +195,8 @@ http {
|
||||
server {
|
||||
listen 2101;
|
||||
server_name _;
|
||||
resolver __ARCHY_DNS_RESOLVERS__ valid=30s ipv6=off;
|
||||
resolver_timeout 3s;
|
||||
|
||||
# Demo sign-in seeder, served same-origin to the proxied SPA.
|
||||
location = /__demo/indee-demo-signin.js {
|
||||
@@ -203,7 +205,8 @@ http {
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass https://indee.tx1138.com;
|
||||
set $indee_host indee.tx1138.com;
|
||||
proxy_pass https://$indee_host$request_uri;
|
||||
proxy_ssl_server_name on;
|
||||
proxy_ssl_name indee.tx1138.com;
|
||||
proxy_set_header Host indee.tx1138.com;
|
||||
|
||||
Reference in New Issue
Block a user