mirror of
https://github.com/openwrt/packages.git
synced 2026-11-29 01:13:20 +04:00
nginx: 302 the "/" path to "/cgi-bin/luci/"
This change will prevent the blank "LuCI - Lua Configuration Interface" screen from being displayed for the first time when accessing luci via a url like 192.168.1.1 Signed-off-by: Tianshuai Gao <cocopriestyu+github@gmail.com> [ improve spacing ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
1 parent
fa48a6a567
commit
b781114455
1 file changed
+3
@@ -1,3 +1,6 @@
|
||||
location = / {
|
||||
return 302 /cgi-bin/luci/;
|
||||
}
|
||||
location /cgi-bin/luci {
|
||||
index index.html;
|
||||
include uwsgi_params;
|
||||
|
||||
Reference in new issue
Block a user