Skip to content

Commit f2bb4aa

Browse files
Update route.conf
1 parent 648cfe2 commit f2bb4aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

etc/nginx/route.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,9 @@
187187

188188
location /console {
189189
include proxy.conf;
190-
proxy_pass http://$my_console/;
190+
# remove the /console
191+
rewrite ^/console(/.*)$ $1 break;
192+
proxy_pass http://$my_console;
191193
break;
192194
}
193195

0 commit comments

Comments
 (0)