Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions oss/etc/nginx/templates/upstreams.conf.template
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# This configuration should dynamically reload S3 backends
# as they change in DNS.

# Use NGINX's non-blocking DNS resolution
resolver ${DNS_RESOLVERS};

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};
zone s3_backends 64k;

server ${S3_UPSTREAM} resolve;
}
2 changes: 1 addition & 1 deletion plus/etc/nginx/templates/upstreams.conf.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This configuration with NGINX Plus should dynamically reload S3 backends
# This configuration should dynamically reload S3 backends
# as they change in DNS.

# Use NGINX's non-blocking DNS resolution
Expand Down