Skip to content
This repository was archived by the owner on Jun 21, 2019. It is now read-only.

Commit ab38e36

Browse files
author
yacut
committed
fix nginx rewrite
1 parent a78b774 commit ab38e36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nginx/kafka-rest-ui.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ server {
55
$BASIC_AUTH
66
root /usr/share/nginx/kafka-rest-ui/build/;
77
}
8-
location /kafka-rest-ui {
9-
rewrite ^/kafka-rest-ui/(.*)$ /$1 permanent;
8+
location /kafka-rest-ui/ {
9+
proxy_pass http://localhost:$HTTP_PORT/;
1010
}
1111
location /admin/healthcheck {
1212
access_log off;

0 commit comments

Comments
 (0)