Delete nginx

This commit is contained in:
2025-10-19 19:03:41 +08:00
committed by GitHub
parent 815b240ee7
commit ffee6bf1bf

22
nginx
View File

@@ -1,22 +0,0 @@
#!/bin/bash
sudo mkdir -p /data
sudo mkdir -p /boot/脚本
file_path="/boot/脚本/nginx.yml"
yaml_content='services:
app:
image: "docker.io/jc21/nginx - proxy - manager:latest"
restart: unless - stopped
ports:
- "80:80"
- "81:81"
- "443:443"
volumes:
- "./data:/data"
- "./letsencrypt:/etc/letsencrypt"
#Email: admin@example.com
#Password: changeme http://127.0.0.1:81
'
echo "$yaml_content" > "$file_path"
sleep 1
docker compose -p my_rustdesk_project -f /boot/脚本/nginx.yml up -d
echo "端口81"