A ShadowsocksR panel written in Sanic.
- Python 3.5+
- MySQL
Visit releases pages to download ssr-panel-sanic.
cp config.py.default config.py
then edit config.py
Import the SQL file to your MySQL database.
Nginx Config example:
server {
listen 80;
server_name .example.com;
charset utf-8;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
python run.py