vault backup: 2023-09-27 13:32:32

This commit is contained in:
2023-09-27 13:32:32 +08:00
parent 6836fb8f94
commit 31d7106101
5 changed files with 277 additions and 8 deletions

View File

@@ -281,7 +281,6 @@ docker logs -f 容器id
docker logs -f --tail string 容器id
# Nginx
```bash
docker run -d --restart=always --name nginx-web \
-v /root/docker/nginx/nginx.conf:/etc/nginx/nginx.conf \
@@ -293,6 +292,19 @@ docker run -d --restart=always --name nginx-web \
nginx
```
```bash
docker run -d --privileged --restart=always --name nginx-web \
-v /root/docker/nginx/nginx.conf:/etc/nginx/nginx.conf \
-v /root/docker/nginx/html:/usr/share/nginx/html \
-v /root/docker/nginx/log:/var/log/nginx \
-v /root/docker/trojan/:/usr/share/trojan \
-v /etc/localtime:/etc/localtime:ro \
-p 80:80 \
-p 443:443 \
nginx
```
# X-UI
```bash
docker run -itd --network=host \