Comments (5)
我也安装了 NMM 文件浏览器,进行了你的操作,我这里没有问题.你检查一下这几个点
比如说,电脑的ip是 192.168.1.2,把 D:/mydir 挂载在了 /public 下面
此时,你在 NMM 中输入的 WebDAV 路径 应该是 http://192.168.1.2/public 而不是 http://192.168.1.2
在浏览器中打开 WebDAV 服务端口,是否能进行正常的文件增删改查
目测 Nginx 不会引入问题, 你可以尝试不使用 HTTPS, NMM 直接使用 HTTP 连接有没有问题.
from gowebdav.
我也安装了 NMM 文件浏览器,进行了你的操作,我这里没有问题.你检查一下这几个点
比如说,电脑的ip是 192.168.1.2,把 D:/mydir 挂载在了 /public 下面
此时,你在 NMM 中输入的 WebDAV 路径 应该是 http://192.168.1.2/public 而不是 http://192.168.1.2
在浏览器中打开 WebDAV 服务端口,是否能进行正常的文件增删改查
目测 Nginx 不会引入问题, 你可以尝试不使用 HTTPS, NMM 直接使用 HTTP 连接有没有问题.
我是在甲骨文vps上安装的docker
docker run -itd
--name go_webdav
-v /media/tr/complete:/root/dir1
-e dav="/webdav,/root/dir1,dede,dede1979,true"
-p 37717:80
--restart=always
117503445/go_webdav:latest
nginx配置是
server {
listen 443 ssl;
server_name dj.xxxxx.xyz;
ssl_certificate /ssl/1_dj.xxxxx.xyz_bundle.crt;
ssl_certificate_key /ssl/2_dj.xxxxx.xyz.key;
ssl_session_timeout 5m;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
#charset koi8 - r;
#access_log logs / host.access.log main;
location / {
proxy_pass http://127.0.0.1:37717;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect http://$host https://$host:$server_port;
}
}
nmm挂载url就是https://dj.xxxxxx.xyz/webdav
应该没啥问题啊.
访问看电影,下载是没问题,,就是不能增删改.
from gowebdav.
这不是 bug,这是 feature ....
第 5 个参数 true 的意思就是 readonly = true, 你改成 false 就能支持增删改了
from gowebdav.
这不是 bug,这是 feature ....
第 5 个参数 true 的意思就是 readonly = true, 你改成 false 就能支持增删改了
破案了,,谢谢大佬,,没仔细看文档,,其实文档写得那么清楚
轮子很好用.
from gowebdav.
帮到忙的话, 给个 star 呗 :)
from gowebdav.
Related Issues (17)
- 最多可以挂载几个webdav???? HOT 1
- 可否用一个webdav服务,一个账户挂载多个硬盘? HOT 3
- Listening ports are configurable HOT 1
- Docker image doesn't work with --user HOT 2
- 117503445大神,可以gowebdav增加https支持吗? HOT 2
- go build main.go 过不了也 HOT 1
- Instruction to build index.html HOT 1
- 手机浏览器访问问题 HOT 4
- 能否支持https HOT 2
- 你这个是怎么运行的,老是报错 HOT 3
- Config file HOT 10
- 能否支持arm服务器 HOT 3
- bug HOT 1
- 有没有arm的? HOT 3
- 使用GoWebDAV的几个疑问 HOT 5
- Impossible to connect with built-in Windows files HOT 3
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 gowebdav.