Clash repo site: click me
git clone
this repo andcd
.docker image build -t clash_dashboard:0.0.2 .
docker container run -p 8080:80 -d clash_dashboard:0.0.2
- Open the website:
http://localhost:8080/
, enjoy :)
- At first you should install nginx from your distribution's repository. For me, I'm using Arch Linux
sudo pacman -S nginx
- Clone this repo and put these folders into your nginx's web sources folder
- at.alicdn.com
- clash.razord.top
- Add these two configuration file to your nginx's configuration
clash.conf
server {
server_name localhost;
listen 30000;
access_log /var/log/nginx/clash.log;
error_log /var/log/nginx/clash.err;
root /path/to/your/clash.razord.top;
index index.html;
}
clash_font.conf
server {
server_name localhost;
listen 30001;
access_log /var/log/nginx/clash_font.log;
error_log /var/log/nginx/clash_font.err;
root /path/to/your/at.alicdn.com;
index index.html;
}
- Reload nginx and check http://localhost:30000