Closed XuXiangJun closed 3 years ago
Hi, the following configuration is directly pulled from prod server.
[root@host ~]# cat /etc/systemd/system/discord.service
[Unit]
Description=discord
[Service]
ExecStart=/root/discord-lite/main server
Restart=always
User=root
Group=root
Environment=PATH=/usr/bin:/usr/local/bin
WorkingDirectory=/root/discord-lite
[root@host ~]# cat /root/discord-lite/PACFile/WSGun.pac
function FindProxyForURL(url, host)
{
proxy = "PROXY discord.cnnblike.com:9090";
if (shExpMatch(host, "version.jr.moefantasy.com"))
return proxy;
if (shExpMatch(host,"version.channel.jr.moefantasy.com"))
return proxy;
return "DIRECT";
}
Resolving.
把 pac 文件内的 proxy 的地址改成自己服务器的地址之后就无法成功
不改的话还是可以成功的 问下如果不改 pac 的话最终代理走的还是大佬你的服务器吗?