Skip to content

Commit

Permalink
working minio proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
v-rocheleau committed Dec 17, 2024
1 parent bf6cda8 commit 7059e63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/minio.conf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ server {
proxy_set_header Connection "";
chunked_transfer_encoding off;
proxy_pass https://${BENTO_MINIO_CONTAINER_NAME}:${BENTO_MINIO_INTERNAL_PORT};
proxy_pass http://${BENTO_MINIO_CONTAINER_NAME}:${BENTO_MINIO_INTERNAL_PORT};

# Errors
error_log /var/log/bentov2_minio_errors.log;
Expand All @@ -60,7 +60,7 @@ server {
rewrite ^ $request_uri;
rewrite ^/minio/ui/(.*) /$1 break;
proxy_pass https://${BENTO_MINIO_CONTAINER_NAME}:${BENTO_MINIO_CONSOLE_PORT}$uri;
proxy_pass http://${BENTO_MINIO_CONTAINER_NAME}:${BENTO_MINIO_CONSOLE_PORT}$uri;

# Add sub_filter directives to rewrite base href
sub_filter '<base href="/"' '<base href="/minio/ui/"';
Expand Down

0 comments on commit 7059e63

Please sign in to comment.