利用 NGINX 的 Stream 模塊 sni_preread 功能,可以做到讓 Trojan 和其他網站在同一台機器上共享 443 端口。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 |