This commit is contained in:
dami 2025-11-29 15:34:38 +08:00
parent 51d4e187b6
commit cd499edd6c
2 changed files with 6 additions and 2 deletions

View File

@ -9,7 +9,7 @@ Type=simple
User=www
Group=www
WorkingDirectory={$SERVER_PATH}/doh
ExecStart={$SERVER_PATH}/doh/doh-proxy --config {$SERVER_PATH}/config.toml
ExecStart={$SERVER_PATH}/doh/doh-proxy -u 127.0.0.1:53 -l 127.0.0.1:3000
Restart=always
RemainAfterExit=yes
#AmbientCapabilities=CAP_NET_BIND_SERVICE

View File

@ -14,7 +14,11 @@ fi
# cd /www/server/mdserver-web/plugins/doh && bash install.sh install 0.9.15
# /www/server/doh/doh-proxy --config /etc/doh-proxy/config.toml --check
# /www/server/doh/doh-proxy --config /www/server/doh/config.toml
# /www/server/doh/doh-proxy --config /www/server/doh/config.toml --check
# doh-proxy -H 'doh.example.com' -u 127.0.0.1:53 -l 127.0.0.1:3000
# 详细状态信息
# sudo systemctl status doh -l