-
大家好: 因为ios现在不支持http,只能https。而使用aliyundrive-webdav的docker版,按照README中的指令默认是http访问,请问有没有像snap/pip版中配置tls证书的option,从而实现https访问? 非常感谢! |
Beta Was this translation helpful? Give feedback.
Answered by
messense
Apr 11, 2022
Replies: 2 comments 1 reply
-
docker run -d --name=aliyundrive-webdav --restart=unless-stopped \
-v /etc/aliyundrive-webdav/:/etc/aliyundrive-webdav/ \
-p 8080:8080 \
-e REFRESH_TOKEN='your refresh token' \
-e WEBDAV_AUTH_USER=admin \
-e WEBDAV_AUTH_PASSWORD=admin \
-e TLS_CERT=/etc/aliyundrive-webdav/tls.cert \
-e TLS_KEY=/etc/aliyundrive-webdav/tls.key \
messense/aliyundrive-webdav 把证书和私钥文件放到 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
messense
-
这样的https似乎在IOS端无法连接,是否是证书的问题? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker run -d --name=aliyundrive-webdav --restart=unless-stopped \ -v /etc/aliyundrive-webdav/:/etc/aliyundrive-webdav/ \ -p 8080:8080 \ -e REFRESH_TOKEN='your refresh token' \ -e WEBDAV_AUTH_USER=admin \ -e WEBDAV_AUTH_PASSWORD=admin \ -e TLS_CERT=/etc/aliyundrive-webdav/tls.cert \ -e TLS_KEY=/etc/aliyundrive-webdav/tls.key \ messense/aliyundrive-webdav
把证书和私钥文件放到
/etc/aliyundrive-webdav
目录中。