Comments (9)
提供下 v2ray 配置。
from v2ray-examples.
提供下 v2ray 配置。
{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "*******************************************************",
"level": 0
}
],
"decryption": "none",
"fallbacks": [
{
"dest": "/dev/shm/default.sock",
"xver": 1
},
{
"alpn": "h2",
"dest": "/dev/shm/h2c.sock",
"xver": 1
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": [
"h2",
"http/1.1"
],
"certificates": [
{
"certificateFile": "/etc/ssl/private/loveliveallstar.cer",
"keyFile": "/etc/ssl/private/loveliveallstar.key"
}
]
}
}
}
],
"outbounds": [
{
"protocol": "freedom"
}
]
}
from v2ray-examples.
试试 reboot。
from v2ray-examples.
我试过reboot许多次了,都是不行
chrome访问我的域名
显示是
无法访问此网站*********************** 意外终止了连接。
请试试以下办法:
检查网络连接
检查代理服务器和防火墙
运行 Windows 网络诊断
ERR_CONNECTION_CLOSED
from v2ray-examples.
确定 nginx 正常运行吗?
from v2ray-examples.
确定 nginx 正常运行吗?
我用nginx -t命令测试了 nginx 配置文件是显示OK的
然后用reboot重启,让配置文件生效。再访问我的域名,就那样打不开。
我用http 访问域名,能正常跳转到https上。我觉得nginx服务应该是正常的。
我打了systemctl status nginx 命令看nginx应该正常工作的中。
root@host:~# systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-09-05 11:32:33 EDT; 2min 19s ago
Docs: man:nginx(8)
Process: 607 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 583 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 608 (nginx)
Tasks: 2 (limit: 564)
CGroup: /system.slice/nginx.service
├─608 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
└─609 nginx: worker process
Sep 05 11:32:33 host.localdomain systemd[1]: Starting A high performance web server and a reverse proxy server...
Sep 05 11:32:33 host.localdomain systemd[1]: Started A high performance web server and a reverse proxy server.
from v2ray-examples.
试试去掉这一行 set_real_ip_from 127.0.0.1;
如果仍然不行的话,试试两个 listen 分开写
from v2ray-examples.
(删除了一条重复的配置信息,比较长
from v2ray-examples.
试试去掉这一行
set_real_ip_from 127.0.0.1;
如果仍然不行的话,试试两个 listen 分开写
不好意思。我查到原因了。
先谢谢大佬深夜这么快的回复。
原因是我忘记更新服务器上的V2ray为4.27.5了。
只修改了nginx和v2ray的配置文件。
解决了。再次感谢大佬。你的配置文件没问题。
from v2ray-examples.
Related Issues (20)
- 请问如何将远程的本地DNS(127.0.0.1)映射到本地?
- VMess to VLESS HOT 2
- VLESS over TCP with TLS + 回落 & 分流 to WebSocket(进阶配置) 方案多用户配置问题 HOT 1
- v2ray启动时提示443端口被占用 HOT 3
- gRPC example HOT 1
- Please Fix Config File HOT 1
- 这样设置客户端不行 HOT 1
- 用 VMess-TCP 在 v2rayNG(安卓) 上无法连接 HOT 2
- 求【Routing Balancer】使用的具体示例 HOT 2
- 能不能新增两个模板 HOT 1
- Vless tcp fallback to vmess tcp 无法连接 HOT 2
- V2ray V5的模板能否更新下 HOT 2
- 现在v5最推荐的方案是哪个? HOT 3
- help
- test
- 【实测有效】科学上网技巧大公开,让你畅爽上网不堵车!
- VLESS-TCP-TLS配置用久了端口被封 HOT 1
- 想要一份 VLESS-TLS-HTTPUPGRADE 的配置文件 HOT 1
- The font size of the table header cannot be adjusted HOT 1
- 用Websocket+TLS+Web方式搭建节点不到一天被干掉了
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v2ray-examples.