https://github.com/linsir/speedtest_lite
自建 speedtest_lite, powered by OpenResty
https://github.com/linsir/speedtest_lite
lua ngx-lua openresty speedtest
Last synced: 4 months ago
JSON representation
自建 speedtest_lite, powered by OpenResty
- Host: GitHub
- URL: https://github.com/linsir/speedtest_lite
- Owner: linsir
- License: apache-2.0
- Created: 2023-11-02T07:13:15.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-02T07:25:40.000Z (over 1 year ago)
- Last Synced: 2025-01-14T20:59:43.471Z (6 months ago)
- Topics: lua, ngx-lua, openresty, speedtest
- Language: JavaScript
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# LibreSpeed
- 前端: [LibreSpeed](https://github.com/librespeed/speedtest)
- 后端: [OpenResty](https://github.com/openresty/openresty)## 截图

## 使用
### OpenResty
```bash
cd speedtest_lite
mkdir -p {logs,runtime}
openresty -p `pwd`/ -c conf/nginx.conf -s stop
openresty -p `pwd`/ -c conf/nginx.conf
# 访问 http://127.0.0.1/ 或者 http://127.0.0.1/v1/
```### docker
```bash
docker run --name speedtest_lite -p 8000:80 -d linsir/speedtest_lite:latest# 访问 http://127.0.0.1:8000/ 或者 http://127.0.0.1:8000/v1/
```