*Nginx

bilibili-nginx:

https://gitee.com/luzhenxiong/bilibili-nginx

docker nginx:

https://github.com/nginxinc/docker-nginx

docker gitee镜像:

https://gitee.com/mirror_webserver/docker-nginx

构建第三方模块:

https://github.com/nginxinc/docker-nginx/tree/master/modules#readme

https://nowtime.cc/docker/1636.html

docker run \
        --volume=/usr/share/nginx:/usr/share/nginx \
        --volume=/etc/nginx:/etc/nginx \
        -p 443:443 \
        -p 80:80 \
        -d \
        --name nginx \
        nginx:1.23.3

如果第一次部署,可以先启动一个临时nginx容器,将里面的配置文件夹和html文件夹复制出来,然后再挂载。

HTTP Basic认证

https://blog.csdn.net/Matthew__M/article/details/129091456