File tree 2 files changed +0
-15
lines changed
infrastructure/source_bundle/proxy/conf.d
2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,6 @@ jobs:
171
171
ECR_REPOSITORY_API : ${{ secrets.TF_API_REPOSITORY_NAME }}
172
172
IMAGE_TAG : ${{ steps.extract_branch.outputs.branch == 'main' && 'production' || steps.extract_branch.outputs.branch }}
173
173
run : |
174
- echo "version: '3.3'" > docker-compose.yml
175
174
echo "services:" >> docker-compose.yml
176
175
echo " client:" >> docker-compose.yml
177
176
echo " image: $ECR_REGISTRY/$ECR_REPOSITORY_CLIENT:$IMAGE_TAG" >> docker-compose.yml
Original file line number Diff line number Diff line change @@ -9,25 +9,11 @@ upstream client {
9
9
server {
10
10
listen 80;
11
11
12
- # client
13
12
location / {
14
13
proxy_pass http://client;
15
14
}
16
15
17
- # TODO: Add magic for api
18
16
location /cms/ {
19
17
proxy_pass http://api;
20
- ; rewrite ^/cms/?(.*)$ /$1 break;
21
- ; proxy_http_version 1.1;
22
- ; proxy_set_header X-Forwarded-Host $host;
23
- ; proxy_set_header X-Forwarded-Server $host;
24
- ; proxy_set_header X-Real-IP $remote_addr;
25
- ; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
26
- ; proxy_set_header X-Forwarded-Proto $scheme;
27
- ; proxy_set_header Host $http_host;
28
- ; proxy_set_header Upgrade $http_upgrade;
29
- ; proxy_set_header Connection "Upgrade";
30
- ; proxy_pass_request_headers on;
31
- ; client_max_body_size 200m;
32
18
}
33
19
}
You can’t perform that action at this time.
0 commit comments