feat: 添加默认的配置文件.

This commit is contained in:
2025-01-11 10:01:22 +08:00
parent 9ed913b15d
commit b85698ddc4
2 changed files with 17 additions and 0 deletions
+7
View File
@@ -6,6 +6,7 @@
<RootNamespace>Proxd_man</RootNamespace> <RootNamespace>Proxd_man</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
@@ -18,4 +19,10 @@
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.0" /> <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.0" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Include="appsettings.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project> </Project>
+10
View File
@@ -11,11 +11,21 @@
}, },
"Proxd": { "Proxd": {
"XrayCoreProgramDirectory": "./xray-core",
"XrayCoreWorkingDirectory": "./xray-core-run",
"RemoteDnsServer": "https://1.1.1.1/dns-query",
"Inbound": { "Inbound": {
"Http": { "Http": {
"BindAddress": "0.0.0.0", "BindAddress": "0.0.0.0",
"Port": "1080", "Port": "1080",
"Authentication": null "Authentication": null
},
"Socks": {
"BindAddress": "0.0.0.0",
"Port": "1080",
"EnableUdp": true,
"BindAddressOnUdp": "0.0.0.0",
"Authentication": null
} }
}, },
"Subscribe": { "Subscribe": {