链接
Docker hub NextCloud
使用NextCloud 12 搭建私人云服务和问题解决
Docker安装私有云盘NextCloud过程记录
安装命令
docker run -d \
-v /root/nextcloud/html:/var/www/html \
-v /root/nextcloud/apps:/var/www/html/custom_apps \
-v /root/nextcloud/config:/var/www/html/config \
-v /root/nextcloud/nextcloud/data:/var/www/html/data \
-v /root/nextcloud/themes:/var/www/html/themes \
-p 8080:80 \
nextcloud
nginx SSL配置
server {
server_name ncloud.msbg.xyz;
listen 443 http2 ssl;
ssl on;
ssl_certificate /etc/letsencrypt/live/msbg.xyz/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/msbg.xyz/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/msbg.xyz/chain.pem;
location / {
proxy_pass http://138.128.204.99:8080;//设置转发地址
}
}
网友评论