Deploy static website and shadowsocks on docker container.
Traffic --> Nginx --> Websocket proxy --> Shadowsocks server --> Internet
|
|--> Static website
The default website is hls-player base on hls.js, which let you play video online.
Lightweight: Use Alpine as the base system.
Secure: Use authenticated encryption with additional data (AEAD) algorithm to encrypt data.
Privacy: Nginx access_log off;Shadowsocks log level is warning(do not log access ip);ws-plugin no log.
Docker ENV(optional):
PASSWORD: password of shadowsocks
ENCRYPT_METHOD: AEAD algorithm(chacha20-ietf-poly1305, aes-256-gcm, aes-128-gcm, plain, none)
WSPATH: websocket path
PORT: nginx server port
Shadowsocks Client:
server: my.server-addr.com
port: 443
password: password of shadowsocks
method: chacha20-ietf-poly1305(default)
plugin: gost-plugin
plugin-opts: mode=wss;serverName=my.server-addr.com;path=/WSPATH
https://github.com/shadowsocks/shadowsocks-rust
https://github.com/maskedeken/gost-plugin
https://github.com/maskedeken/gost-plugin-android
https://serverfault.com/questions/318574/how-to-disable-nginx-logging
https://nginx.org/en/docs/http/ngx_http_log_module.html#access_log