From d2ba010dcbe8aaf364b3157d5351b425eea1a6b5 Mon Sep 17 00:00:00 2001 From: ange Date: Thu, 2 May 2024 17:31:54 +0200 Subject: [PATCH] style: reorder listeners entries --- .gitea/workflows/deploy.yaml | 2 +- homeserver.yaml | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 7cea4cc..f6d29c0 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v1 - name: setup env run: | - . ./.env + . ./.env || true if [ "${{ gitea.ref_name }}" == prod ] && [ -n "$PROD_URL" ]; then BASE_URL="$PROD_URL" else diff --git a/homeserver.yaml b/homeserver.yaml index 823f329..6073075 100644 --- a/homeserver.yaml +++ b/homeserver.yaml @@ -8,14 +8,12 @@ log_config: "/config/log.config" listeners: - port: 8008 tls: false - bind_addresses: ['::'] type: http - x_forwarded: false + x_forwarded: true + bind_addresses: ['::'] resources: - - names: [client] + - names: [client, federation] compress: true - - names: [federation] - compress: false database: name: "psycopg2"