Skip to content

Commit

Permalink
change entry uri of dashboard in readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexazhou committed Mar 17, 2016
1 parent 678a988 commit adbf77d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions VeryNginx/lua_script/VeryNginxConfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ _M.configs["scheme_lock_rule"] = {
_M.configs["redirect_enable"] = true
_M.configs["redirect_rule"] = {
--redirect to a static uri
{["matcher"] = 'demo_other_verynginx_uri', ["to_uri"] = "/verynginx/dashboard/index.html", ["enable"] = true},
{["matcher"] = 'demo_other_verynginx_uri', ["to_uri"] = "/verynginx/index.html", ["enable"] = true},
}

_M.configs["uri_rewrite_enable"] = true
_M.configs["uri_rewrite_rule"] = {
--redirect to a Regex generate uri
{["matcher"] = 'demo_verynginx_short_uri', ["replace_re"] = "^/vn/(.*)", ["to_uri"] = "/verynginx/dashboard/$1", ["enable"] = true},
{["matcher"] = 'demo_verynginx_short_uri', ["replace_re"] = "^/vn/(.*)", ["to_uri"] = "/verynginx/$1", ["enable"] = true},
}

_M.configs["browser_verify_enable"] = true
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ log_by_lua_file /opt/VeryNginx/VeryNginx/lua_script/on_log.lua;
`/opt/VeryNginx/nginx/sbin/nginx -s stop`

##对 VeryNginx 进行配置
打开浏览器访问 `http://127.0.0.1/VeryNginx/dashboard/index.html`
打开浏览器访问 `http://127.0.0.1/VeryNginx/index.html`

默认用户名和密码是 `verynginx` / `verynginx`

Expand Down Expand Up @@ -318,7 +318,7 @@ log_by_lua_file /opt/VeryNginx/VeryNginx/lua_script/on_log.lua;
`/opt/VeryNginx/nginx/sbin/nginx -s stop`

##Configure VeryNginx
Open your web browser and go to `http://127.0.0.1/VeryNginx/dashboard/index.html`.
Open your web browser and go to `http://127.0.0.1/VeryNginx/index.html`.

Default user and password is `verynginx` / `verynginx`. You should be able to work through all the options now.

Expand Down

0 comments on commit adbf77d

Please sign in to comment.