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