From d210f94415ce431a3575b84f9daaccbb6e242863 Mon Sep 17 00:00:00 2001 From: alexeh Date: Thu, 23 May 2024 10:34:22 +0300 Subject: [PATCH] Remove compose version for EBS deployment file --- .github/workflows/deploy.yml | 1 - .../source_bundle/proxy/conf.d/application.conf | 14 -------------- 2 files changed, 15 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6a2812af..cc7d2746 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -171,7 +171,6 @@ jobs: ECR_REPOSITORY_API: ${{ secrets.TF_API_REPOSITORY_NAME }} IMAGE_TAG: ${{ steps.extract_branch.outputs.branch == 'main' && 'production' || steps.extract_branch.outputs.branch }} run: | - echo "version: '3.3'" > docker-compose.yml echo "services:" >> docker-compose.yml echo " client:" >> docker-compose.yml echo " image: $ECR_REGISTRY/$ECR_REPOSITORY_CLIENT:$IMAGE_TAG" >> docker-compose.yml diff --git a/infrastructure/source_bundle/proxy/conf.d/application.conf b/infrastructure/source_bundle/proxy/conf.d/application.conf index 3e266295..a520bfff 100644 --- a/infrastructure/source_bundle/proxy/conf.d/application.conf +++ b/infrastructure/source_bundle/proxy/conf.d/application.conf @@ -9,25 +9,11 @@ upstream client { server { listen 80; - # client location / { proxy_pass http://client; } - # TODO: Add magic for api location /cms/ { proxy_pass http://api; -; rewrite ^/cms/?(.*)$ /$1 break; -; proxy_http_version 1.1; -; proxy_set_header X-Forwarded-Host $host; -; proxy_set_header X-Forwarded-Server $host; -; proxy_set_header X-Real-IP $remote_addr; -; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; -; proxy_set_header X-Forwarded-Proto $scheme; -; proxy_set_header Host $http_host; -; proxy_set_header Upgrade $http_upgrade; -; proxy_set_header Connection "Upgrade"; -; proxy_pass_request_headers on; -; client_max_body_size 200m; } }