#004最坚挺出国方式v2ray+websocket+cdn+tls系列教程之四:Ngnix、v2ray的安装和配置



图文教程:
https://jeanniestudio.github.io/2020/02/15/%E6%9C%80%E5%9D%9A%E6%8C%BA%E5%87%BA%E5%9B%BD%E6%96%B9%E5%BC%8F%EF%BC%9Av2ray+CDN+Ngnix+websocket/

使用Winscp连接VPS教程:
https://jeanniestudio.github.io/2020/02/14/%E4%BD%BF%E7%94%A8WINSCP%E8%BF%9E%E6%8E%A5VPS%E6%95%99%E7%A8%8B–%E4%B8%80%E9%94%AE%E8%84%9A%E6%9C%AC/

我的电报群:https://t.me/jeannieStudioGroup

#001原理分析:https://youtu.be/WXrEWMkjGNE

#002域名注册与购买:https://youtu.be/VZJF-POGKVU

#003实例创建、域名托管与解析:https://youtu.be/YvyMHNxapV0

#004Ngnix、v2ray的安装和配置:https://youtu.be/pyNlzTIMUTc

#005PC端、IOS端、安卓端配置:https://youtu.be/N5d3p2jmVKw

30 comments
  1. 你好Jeannie,nginx可以连接我们VPS。但是通过连上winscp了改完后,连接我自己的域名发生问题,cloud弗拉热working,You brower working, host这里Error。不知道是什么原因了?Error 521谢谢

  2. 在安装证书和密钥安装时.出现-bash: $: command not found, 我把$去掉,安装成功,但在修改Ngnix配置后,重启不成功:Failed to start A high performance web server and a

    reverse proxy server.

  3. 给姐姐一个建议,如果此教程面向小白,显得有些过于复杂,那样新手看到这个视频的长度,就觉得很复杂就不想自己搭建了,不如直接买个机场,且视频内容有很多是程序员才懂得东西,而对于懂的人来说又有很多东西是浪费时间的,而这两条就会导致你的视频播放量不高。所以视频的面向群体可能需要先定位好

  4. 姐姐··修改default保存刷新后`重启一下Ngnix才可以?我不小心退出了SSH 从新打开一个新页面输入什么命令才能重启?直接systemctl restart nginx

    不成功!是不是还需要得加点指令命令?

  5. 所有步骤按照教程都做了,打开域名HTTPS也是正确的,可就是v2ray服务无法启动,,,教程仔细核对了,该做的都做了啊? 启动不了V2RAY

  6. root@debian-9:~# service v2ray status

    ● v2ray.service – V2Ray Service

    Loaded: loaded (/etc/systemd/system/v2ray.service; enabled; vendor preset: enabled)

    Active: failed (Result: exit-code) since Sun 2020-02-23 05:55:05 CST; 9s ago

    Process: 806 ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json (code=exited, status=23)

    Main PID: 806 (code=exited, status=23)
    是不是脚本的模板有问题?

  7. 我是小白, win10系统,可以用谷歌,在您的图文教程里第一打开BBR就难住了,不知道是个啥东西了。请给予指导,谢谢~!

  8. root@taiwan:~# systemctl restart nginx

    Job for nginx.service failed because the control process exited with error code.

    See "systemctl status nginx.service" and "journalctl -xe" for details.

    root@taiwan:~# systemctl status nginx.service

    ● nginx.service – A high performance web server and a reverse proxy server

    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)

    Active: failed (Result: exit-code) since Fri 2020-02-21 21:33:25 CST; 16s ago

    Docs: man:nginx(8)

    Process: 3182 ExecStop=/sbin/start-stop-daemon –quiet –stop –retry QUIT/5 –pidfile /run/nginx.pid (code=exite

    d, status=0/SUCCESS)

    Process: 2158 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)

    Process: 3879 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/

    FAILURE)

    Main PID: 2161 (code=exited, status=0/SUCCESS)

    Feb 21 21:33:25 taiwan systemd[1]: Starting A high performance web server and a reverse proxy server…

    Feb 21 21:33:25 taiwan nginx[3879]: nginx: [emerg] invalid port in upstream "127.0.0.1:123456" in /etc/nginx/sites-

    enabled/default:11

    Feb 21 21:33:25 taiwan nginx[3879]: nginx: configuration file /etc/nginx/nginx.conf test failed

    Feb 21 21:33:25 taiwan systemd[1]: nginx.service: Control process exited, code=exited status=1

    Feb 21 21:33:25 taiwan systemd[1]: Failed to start A high performance web server and a reverse proxy server

    .

    Feb 21 21:33:25 taiwan systemd[1]: nginx.service: Unit entered failed state.

    Feb 21 21:33:25 taiwan systemd[1]: nginx.service: Failed with result 'exit-code'.

    root@taiwan:~#

    以上问题哪里出问题了

Comments are closed.