将配置文件改为config.json.待测试版本
This commit is contained in:
parent
c5f8733d4c
commit
3318f5b604
@ -1,15 +0,0 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
hysteria:
|
||||
image: tobyxdd/hysteria:latest
|
||||
container_name: hysteria
|
||||
restart: always
|
||||
network_mode: "host"
|
||||
volumes:
|
||||
- acme:/acme
|
||||
- ./hysteria.yaml:/etc/hysteria.yaml
|
||||
- ./key/server.crt:/etc/hysteria/server.crt
|
||||
- ./key/server.key:/etc/hysteria/server.key
|
||||
command: ["server", "-c", "/etc/hysteria.yaml"]
|
||||
volumes:
|
||||
acme:
|
||||
@ -1,15 +0,0 @@
|
||||
listen: :8443
|
||||
|
||||
tls:
|
||||
cert: /etc/hysteria/server.crt
|
||||
key: /etc/hysteria/server.key
|
||||
|
||||
auth:
|
||||
type: password
|
||||
password: "JitvTPJZp3TeeVS"
|
||||
|
||||
masquerade:
|
||||
type: proxy
|
||||
proxy:
|
||||
url: https://bing.com
|
||||
rewriteHost: true
|
||||
Loading…
Reference in New Issue
Block a user