As the gov has known the traffic feature in SSR, this project is Deprecated.
Note: This repo is for CentOS 7.x only.
build nginx-with-stream in docker
/etc/nginx/nginx.conf
see here nginx.conf
- http conf
/etc/nginx/conf.d/
- stream conf
/etc/nginx/conf.d.stream
Install SSR in CentOS 6+, Debian7+, Ubuntu12+
Thanks to teddysun
The ssr.sh
script was based on shadowsocks_install and had some changes:
- Removed all other ss versions except SSR;
- Make the script ask for values instead of read from stdin so that we can pass them from Dockefile; Thanks @ https://stackoverflow.com/a/50195430/5723841
- Simple change of shadowsocks-r to support running foreground in docker;
git clone git@github.com:ykfq/nginx-with-stream.git
cd nginx-with-stream
bash install_docker-ce.sh
bash install_docker-compose.sh
docker-compose down; docker-compose up --build -d