gost 记录配置
This commit is contained in:
4
caddy/Caddyfile
Normal file
4
caddy/Caddyfile
Normal file
@@ -0,0 +1,4 @@
|
||||
https://43.226.59.241:9800 {
|
||||
tls internal
|
||||
reverse_proxy localhost:9700
|
||||
}
|
||||
@@ -4,6 +4,8 @@ services:
|
||||
gost:
|
||||
image: gogost/gost:latest
|
||||
network_mode: host
|
||||
volumes:
|
||||
- ./gost.yaml:/etc/gost/gost.yaml
|
||||
command: >
|
||||
-api $GOST_USERNAME:$GOST_PASSWORD@:9700
|
||||
restart: unless-stopped
|
||||
@@ -12,5 +14,5 @@ services:
|
||||
image: caddy:latest
|
||||
network_mode: host
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
- .caddy/Caddyfile:/etc/caddy/Caddyfile
|
||||
restart: unless-stopped
|
||||
|
||||
5
gost/gost.yaml
Normal file
5
gost/gost.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
recorders:
|
||||
- name: record-file
|
||||
file:
|
||||
path: /var/log/gost/
|
||||
sep: "\n"
|
||||
Reference in New Issue
Block a user