Skip to content

Commit

Permalink
Remove compose version for EBS deployment file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed May 23, 2024
1 parent a9d8c11 commit d210f94
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 0 additions & 14 deletions infrastructure/source_bundle/proxy/conf.d/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit d210f94

Please sign in to comment.