Skip to content

Commit 3dd1b57

Browse files
committed
fix: nginx redirect missing port
1 parent 734e7f1 commit 3dd1b57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/bgmi_nginx.conf

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ server {
55
autoindex on;
66
charset utf-8;
77

8+
location = /bangumi {
9+
return 301 $scheme://$http_host/bangumi/;
10+
}
11+
812
location /bangumi {
913
alias /bgmi/bangumi;
1014
}

0 commit comments

Comments
 (0)