Skip to content

Syize/web-dashboard-for-clash-with-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Web Dashboard using nginx for Clash For Linux

Clash repo site: click me

How To Use It

Docker

  1. git clone this repo and cd.
  2. docker image build -t clash_dashboard:0.0.2 .
  3. docker container run -p 8080:80 -d clash_dashboard:0.0.2
  4. Open the website: http://localhost:8080/, enjoy :)

Manual

  1. At first you should install nginx from your distribution's repository. For me, I'm using Arch Linux
sudo pacman -S nginx
  1. Clone this repo and put these folders into your nginx's web sources folder
    1. at.alicdn.com
    2. clash.razord.top
  2. 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;
}
  1. Reload nginx and check http://localhost:30000

About

This is a web dashboard using nginx for clash for linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published