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代理,upload返回404 #41

Closed
happyycm opened this issue Apr 19, 2019 · 1 comment
Closed

添加nginx代理,upload返回404 #41

happyycm opened this issue Apr 19, 2019 · 1 comment

Comments

@happyycm
Copy link

版本1.2.7

因为端口的问题, 添加了一个nginx前置,相关Nginx配置如下

location /files 
{
        proxy_pass http://127.0.0.1:8080/;
}

其中8080是go-fastdfs的端口

现在直接访问http://mydomain/files 会打开默认的上传WEB测试界面

但是访问http://mydomain/files/upload会返回404 Not Found

是Nginx还需要别的特殊配置吗?

@sjqzhang
Copy link
Owner

配置问题

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