initial commit

This commit is contained in:
gin
2026-06-08 15:00:35 +08:00
commit d96692d19b
7 changed files with 109 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
services:
nginx:
image: nginx:latest
container_name: main-nginx
ports:
- "80:80"
- "443:443"
volumes:
# 挂载一个包含额外server配置的目录
- ./conf.d:/etc/nginx/conf.d
# 挂载日志目录
- ./logs:/var/log/nginx
# 挂载证书
- ./ssl:/etc/nginx/ssl:ro