-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update workflow, makefile and scripts
- Loading branch information
Showing
6 changed files
with
57 additions
and
36 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[Sidecar] | ||
ProxyPort = 4396 | ||
OnlyListenIPv4 = true | ||
LogLevel = "info" | ||
|
||
[RemoteProxy] | ||
Server = "remote.server.com" # 需要替换为实际的远端服务域名 | ||
ComplexPath = "FreeFreeFree" # 需要替换为实际的远端服务入口路径 | ||
GfwListUrl = "https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt" | ||
|
||
[RemoteProxy.CustomHeaders] | ||
# 需要替换为实际的远端服务允许通过的 Header | ||
AuthHeader = "Secret" | ||
|
||
# 这部分信息可以生成远端服务的 nginx.conf ,仅在 create-nginx-conf 时被使用 | ||
[RemoteProxyConf] | ||
EnableListenHTTP2 = true | ||
EnableWebSocketProxy = true | ||
EnableModernTLSOnly = true | ||
NginxWorkDir = "/usr/local/openresty/nginx/logs" | ||
SSLCertificatePath = "/usr/local/openresty/nginx/conf/proxy/proxy.crt" | ||
SSLPrivateKeyPath = "/usr/local/openresty/nginx/conf/proxy/proxy.pri" |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
@echo off | ||
|
||
echo "Disable Proxy Server ......" | ||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f | ||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f > NUL | ||
|
||
echo "Stop Sidecar Server ......" | ||
%cd%/sidecar-server.exe stop | ||
cmd /c %cd%/sidecar-server.exe stop | ||
|
||
echo "Press Any Key To Close This Window ......" | ||
pause | ||
exit |