Comments (1)
Hey there!
Yes -- I'm using nginx and detecting the user agent that's initiating the request. Here is the complete config, nothing fancy:
server {
listen 80;
server_name yabs.sh;
if ( $http_user_agent ~ 'curl' ) {
return 301 https://raw.githubusercontent.com/masonr/yet-another-bench-script/master/yabs.sh;
}
if ( $http_user_agent ~ 'Wget' ) {
return 301 https://raw.githubusercontent.com/masonr/yet-another-bench-script/master/yabs.sh;
}
return 301 https://github.com/masonr/yet-another-bench-script;
}
Let me know if you have any other questions.
Cheers,
-Mason
from yet-another-bench-script.
Related Issues (20)
- process '[redacted]/Geekbench-5.4.5-Linux/geekbench_x86_64' started with executable stack HOT 2
- iperf3 always busy ? HOT 1
- No results HOT 10
- Write permission error HOT 2
- Segmentation fault (core dumped) HOT 1
- Geekbench 6 is released now, wish to add support to v6 HOT 1
- grep -P not available on Alpine Linux HOT 2
- ping permission error during network test HOT 1
- YABS always freezes at the same time HOT 3
- Missing zfs HOT 1
- GeekBench 6 is unsupported on CentOS 7 HOT 3
- Three Enhancements request HOT 2
- define a custom location for the fio test HOT 2
- YABS assumes 'bc' will be installed HOT 3
- Invalid backslash in uploaded json HOT 6
- fio errors on ZFS systems when available space is a decimal value HOT 1
- lscpu not present on alpine linux HOT 2
- VM type detection may be wrong on vultr vps HOT 1
- Automatically save output to file HOT 2
- blank results for disk speed tests on alpine HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yet-another-bench-script.