ops: isolate gateway certificate renewal and preserve client IP
This commit is contained in:
1 parent
e7ec154f75
commit
23ae4068a8
11 files changed
+125
-7
No files matched your search
@@ -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"}}
|
||||
|
||||
Reference in new issue
Block a user