We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6325044 commit 811c0edCopy full SHA for 811c0ed
oss/etc/nginx/templates/upstreams.conf.template
@@ -1,8 +1,11 @@
1
+# This configuration should dynamically reload S3 backends
2
+# as they change in DNS.
3
+
4
# Use NGINX's non-blocking DNS resolution
5
resolver ${DNS_RESOLVERS};
6
7
upstream storage_urls {
- # Upstreams are not refreshed until NGINX configuration is reloaded.
- # NGINX Plus will dynamically reload upstreams when DNS records are changed.
- server ${S3_UPSTREAM};
8
+ zone s3_backends 64k;
9
10
+ server ${S3_UPSTREAM} resolve;
11
}
plus/etc/nginx/templates/upstreams.conf.template
@@ -1,4 +1,4 @@
-# This configuration with NGINX Plus should dynamically reload S3 backends
# as they change in DNS.
0 commit comments