This commit is contained in:
2026-02-12 12:25:42 +04:00
parent 34e37707d6
commit b139c26ad6
8 changed files with 113 additions and 43 deletions

View File

@@ -23,10 +23,11 @@ services:
networks:
- proxy_network
- gitea_network
- cloud_network
- disk_network
- matrix_network
- memos_network
- homepage_network
- cloud_network
certbot:
image: docker.io/certbot/certbot
@@ -73,9 +74,9 @@ networks:
gitea_network:
external: true
name: gitea_network
cloud_network:
disk_network:
external: true
name: cloud_network
name: disk_network
matrix_network:
external: true
name: matrix_network
@@ -85,3 +86,6 @@ networks:
homepage_network:
external: true
name: homepage_network
cloud_network:
external: true
name: cloud_network

View File

@@ -2,7 +2,7 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name domain.ru www.domain.ru git.domain.ru cloud.domain.ru m.domain.ru chat.domain.ru;
server_name domain.ru www.domain.ru git.domain.ru disk.domain.ru cloud.domain.ru m.domain.ru chat.domain.ru todo.domain.ru draw.domain.ru;
location /.well-known/acme-challenge/ {
root /var/www/certbot;
@@ -55,13 +55,13 @@ server {
}
}
# 4. Cloud
# 4. Disk
server {
listen 443 ssl;
server_name cloud.domain.ru;
server_name disk.domain.ru;
ssl_certificate /etc/letsencrypt/live/cloud.domain.ru/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/cloud.domain.ru/privkey.pem;
ssl_certificate /etc/letsencrypt/live/disk.domain.ru/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/disk.domain.ru/privkey.pem;
client_max_body_size 0;