萌新问下 502 Bad Gateway 问题

2021-03-23 13:45:01 +08:00
 weifan

nginx 配置按网上方法改了都不行😂求大佬帮忙看看

俩 php 文件没改 您有一份文件待查收!即刻点击链接获取文件: https://cowtransfer.com/s/345f5245514d4c 或进入 cowtransfer.com 获取,在首页输入取件码:691033 ( 24 小时内有效)

1673 次点击
所在节点    PHP
2 条回复
xiaochong0302
2021-03-23 14:19:07 +08:00
查找 fpm 的配置文件,关注一下 listen 部分的配置

```
; The address on which to accept FastCGI requests.
; Valid syntaxes are:
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on
; a specific port;
; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on
; a specific port;
; 'port' - to listen on a TCP socket to all addresses
; (IPv6 and IPv4-mapped) on a specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
; Note: This value is mandatory.
;listen = /run/php/php7.3-fpm.sock
listen = 127.0.0.1:9000

```
weifan
2021-03-23 14:52:06 +08:00
@xiaochong0302 #1 感谢,之前没找到这个,仔细找了一下,是把另一个配置文件给包含进去。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/764236

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX