Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

服务发布成功,但是报nginx 502错误 #7

Open
xiabeifeng opened this issue Dec 18, 2022 · 1 comment
Open

服务发布成功,但是报nginx 502错误 #7

xiabeifeng opened this issue Dec 18, 2022 · 1 comment

Comments

@xiabeifeng
Copy link

你好,我首先在微信云托管后台通过ThinkPHP(Nginx)模板快速创建了1个服务,然后在github上下载了这个仓库的源代码,修改了wxcloudrun-thinkphp-nginx\app\controller\Index.php文件(把getCount方法返回的data值写成了一个固定值10000)后,然后开始发布:选择了手动上传代码包的方式,发布正常,但是在后台云端测试/api/count接口的时候报nginx 502错误。这个是什么问题啊,有谁知道的吗?谢谢。
image

image

@haotianyuhuang
Copy link

你好,我首先在微信云托管后台通过ThinkPHP(Nginx)模板快速创建了1个服务,然后在github上下载了这个仓库的源代码,修改了wxcloudrun-thinkphp-nginx\app\controller\Index.php文件(把getCount方法返回的data值写成了一个固定值10000)后,然后开始发布:选择了手动上传代码包的方式,发布正常,但是在后台云端测试/api/count接口的时候报nginx 502错误。这个是什么问题啊,有谁知道的吗?谢谢。 image

image

请问你当时是怎么解决这个问题的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants