Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tls-forward
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangmingming
tls-forward
Commits
89e50477
Commit
89e50477
authored
May 29, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cronet
parent
dac2c60d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
readme.md
readme.md
+1
-1
run.sh
run.sh
+1
-1
No files found.
readme.md
View file @
89e50477
...
...
@@ -2,6 +2,6 @@
```shell
docker run -itd --name lcc-tls-forward --privileged=true --restart=always -v /data/log/:/data/log/ -v /home/opt/
tls-forward:/root/src/ -p 58000:58000 --cpus=2 -m 2G --log-driver=json-file --log-opt max-size=50m --log-opt max-file=3 golang /bin/sh "/root/src
/run.sh"
docker run -itd --name lcc-tls-forward --privileged=true --restart=always -v /data/log/:/data/log/ -v /home/opt/
go/tls-forward:/home/opt/tls-forward/ -p 58000:58000 --cpus=2 -m 2G --log-driver=json-file --log-opt max-size=50m --log-opt max-file=3 golang /bin/sh "/home/opt/tls-forward
/run.sh"
```
run.sh
View file @
89e50477
...
...
@@ -2,4 +2,4 @@ export GOPROXY=https://goproxy.cn
#cd /root/src/js && npm i && nohup /usr/local/bin/node --expose-gc --max-old-space-size=256 cursor_mock.js > 1.log 2>&1 &
export set
CGO_CFLAGS
=
"-I/home/opt/tls-forawrd/cronet/include"
export set
CGO_LDFLAGS
=
"-Wl,-rpath,/home/opt/tls-forawrd/cronet -L/home/opt/tls-forawrd/cronet -lcronet"
cd
/root/src
&&
go run main.go
\ No newline at end of file
cd
/home/opt/tls-forawrd/
&&
go run main.go
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment