Sign inSign up

hisatri/lsky

By hisatri

•Updated over 2 years ago

兰空图床Docker,解决Mixed-Content问题

Image
0

2.8K

hisatri/lsky repository overview

由halcyonazure/lsky-pro-docker修改而来,项目地址https://github.com/HisAtri/lsky-pro-docker⁠,解决Nginx反代或CDN代理前后端协议不一致导致的Mixed Content问题。

⁠使用方法

docker run -d \
    --name lsky-pro \
    --restart unless-stopped \
    -p 8089:8089 \
    -v $PWD/lsky:/var/www/html \
    -e WEB_PORT=8089 \
    hisatri/lsky:latest
⁠如果要使用Nginx反向代理配置HTTPS,则使用HTTPS访问容器
docker run -d \
    --name lsky-pro \
    --restart unless-stopped \
    -p 8088:8088 \
    -p 8089:8089 \
    -v $PWD/lsky:/var/www/html \
    -e HTTPS_PORT=8088 \
    -e WEB_PORT=8089 \
    hisatri/lsky:latest

此时反向代理https://localhost:8089⁠

Tag summary

Content type

Image

Digest

sha256:c627ea09c…

Size

206.6 MB

Last updated

over 2 years ago

docker pull hisatri/lsky