From 6227db083df50a2d1b370798f98b62cb62f4db98 Mon Sep 17 00:00:00 2001 From: Roman Buryan Date: Mon, 9 Nov 2026 13:42:03 +0300 Subject: [PATCH] =?UTF-8?q?[NET]=20=D0=A1=D0=B5=D1=82=D0=B5=D0=B2=D0=BE?= =?UTF-8?q?=D0=B9=20=D0=B0=D1=83=D0=B4=D0=B8=D1=82:=20=D1=83=D0=B1=D1=80?= =?UTF-8?q?=D0=B0=D0=BD=20wgtest-=D0=BF=D0=B5=D1=80=D0=B5=D1=85=D0=B2?= =?UTF-8?q?=D0=B0=D1=82,=20=D0=BF=D0=BE=D1=87=D0=B8=D0=BD=D0=B5=D0=BD=20ng?= =?UTF-8?q?inx=20(=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=20Frigate=20=D0=BB?= =?UTF-8?q?=D0=BE=D0=BC=D0=B0=D0=BB=20reload),=20HTTP=E2=86=92HTTPS=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20Matrix,=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D1=8B=20=D0=B4=D0=BE=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=B2=20Homepage=20(files/immich/pdf)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ops/infra/matrix-http-redirect.conf | 16 ++++++++++++++++ ops/portal/homepage/services.yaml | 12 ++++++------ 2 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 ops/infra/matrix-http-redirect.conf diff --git a/ops/infra/matrix-http-redirect.conf b/ops/infra/matrix-http-redirect.conf new file mode 100644 index 0000000..b1fb89e --- /dev/null +++ b/ops/infra/matrix-http-redirect.conf @@ -0,0 +1,16 @@ +# matrix/chat: HTTP → HTTPS (LAN-клиенты не должны получать 404) +server { + listen 80; + listen [::]:80; + server_name matrix.buryans.ru chat.buryans.ru; + + location /.well-known/matrix/client { + default_type application/json; + add_header Access-Control-Allow-Origin *; + return 200 '{"m.homeserver":{"base_url":"https://matrix.buryans.ru/"}}'; + } + + location / { + return 301 https://$host$request_uri; + } +} diff --git a/ops/portal/homepage/services.yaml b/ops/portal/homepage/services.yaml index 893651c..9bd059e 100644 --- a/ops/portal/homepage/services.yaml +++ b/ops/portal/homepage/services.yaml @@ -8,28 +8,28 @@ widget: type: jellyfin url: http://192.168.1.103:8096 - key: <из .env на CT102> + key: <из .env> - Продукты: icon: mdi-cart href: http://192.168.1.110:9283 widget: type: grocy url: http://192.168.1.110:9283 - key: <из .env на CT102> + key: <из .env> - Документы: icon: mdi-file-document - href: https://paperless.buryans.ru + href: https://pdf.buryans.ru widget: type: paperlessngx url: http://192.168.1.105:8000 - key: <из .env на CT102> + key: <из .env> - Камеры: icon: mdi-cctv href: http://192.168.1.110:4197 description: Frigate - Фото: icon: mdi-image-multiple - href: https://photos.buryans.ru + href: https://immich.buryans.ru description: Immich - Книги: icon: mdi-book-open-page-variant @@ -77,7 +77,7 @@ description: репозитории · CI - Nextcloud: icon: mdi-cloud - href: https://cloud.buryans.ru + href: https://files.buryans.ru - Хранилище паролей: icon: mdi-shield-key href: https://vault.buryans.ru