Skip to content

Commit

Permalink
rm minio upstreams
Browse files Browse the repository at this point in the history
  • Loading branch information
v-rocheleau committed Dec 17, 2024
1 parent 9ad0bd0 commit e799e84
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions conf/minio.conf.tpl
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
upstream minio {
server ${BENTO_MINIO_CONTAINER_NAME}:${BENTO_MINIO_INTERNAL_PORT};
}

upstream minio_console {
server ${BENTO_MINIO_CONTAINER_NAME}:${BENTO_MINIO_CONSOLE_PORT};
}

server {
# tpl__tls_yes__start
# Use 444 for internal SSL to allow streaming back to self (above)
listen 444 ssl;
# tpl__tls_yes__end
Expand Down Expand Up @@ -46,7 +37,7 @@ server {
proxy_set_header Connection "";
chunked_transfer_encoding off;
proxy_pass http://minio;
proxy_pass http://${BENTO_MINIO_CONTAINER_NAME}:${BENTO_MINIO_INTERNAL_PORT};
}

location /minio/ui/ {
Expand All @@ -72,6 +63,6 @@ server {
chunked_transfer_encoding off;
proxy_pass http://minio_console; # This uses the upstream directive definition to load balance
proxy_pass http://${BENTO_MINIO_CONTAINER_NAME}:${BENTO_MINIO_CONSOLE_PORT};
}
}

0 comments on commit e799e84

Please sign in to comment.