Skip to content

docker版怎样设置才能支持https? #380

Answered by messense
lyh458 asked this question in Q&A
Discussion options

You must be logged in to vote
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 目录中。

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@lyh458
Comment options

Answer selected by messense
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants