Skip to content

Instantly share code, notes, and snippets.

View zengjiapei3000's full-sized avatar
🍔
enjoy eating!

justgoooooo zengjiapei3000

🍔
enjoy eating!
  • China
View GitHub Profile

利用 NGINX 的 Stream 模塊 sni_preread 功能,可以做到讓 Trojan 和其他網站在同一台機器上共享 443 端口。

@echo off
setlocal EnableDelayedExpansion
set "WD=%__CD__%"
if NOT EXIST "%WD%msys-2.0.dll" set "WD=%~dp0usr\bin\"
set "LOGINSHELL=bash"
set /a msys2_shiftCounter=0
rem To activate windows native symlinks uncomment next line
REM set MSYS=winsymlinks:nativestrict