ops: isolate gateway certificate renewal and preserve client IP

This commit is contained in:
hellcat committed 2026-10-11 16:18:24 +08:00
1 parent e7ec154f75
commit 23ae4068a8
11 files changed
+125 -7

No files matched your search

+3 -2
View File
@@ -18,9 +18,10 @@ services:
volumes:
- config:/etc/nginx/subscribe
- logs:/var/log/subscribe
- /etc/letsencrypt:/etc/letsencrypt:ro
- /etc/dpl-letsencrypt:/etc/dpl-letsencrypt:ro
- /var/lib/dpl-sgw/ssl:/etc/nginx/ssl:ro
- ./gateway-nginx.conf:/etc/nginx/templates-src/nginx.conf:ro
- ./gateway-protect.conf:/etc/nginx/templates-src/subscribe_protect.conf.template:ro
networks: [dpl]
logging: {driver: json-file, options: {max-size: "5m", max-file: "2"}}
admin:
@@ -36,7 +37,7 @@ services:
volumes:
- config:/etc/nginx/subscribe
- logs:/var/log/subscribe
- /etc/letsencrypt:/etc/letsencrypt:ro
- /etc/dpl-letsencrypt:/etc/dpl-letsencrypt:ro
- ./gateway-admin.conf:/etc/nginx/nginx.conf:ro
networks: [dpl]
logging: {driver: json-file, options: {max-size: "5m", max-file: "2"}}